Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
go-plugins
middlewares
Commits
9140e575
Commit
9140e575
authored
1 month ago
by
linty
Browse files
Options
Download
Email Patches
Plain Diff
feat: func
parent
989cfe07
main
v0.1.5
v0.1.4
v0.1.3
v0.1.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with/with.go
+1
-1
with/with.go
with
1 addition
and
1 deletion
+1
-1
with/with.go
+
1
-
1
View file @
9140e575
...
...
@@ -7,7 +7,7 @@ import (
"gorm.io/gorm"
)
func
w
ith
(
ctx
context
.
Context
,
db
*
gorm
.
DB
)
*
gorm
.
DB
{
func
W
ith
(
ctx
context
.
Context
,
db
*
gorm
.
DB
)
*
gorm
.
DB
{
fields
:=
graphql
.
CollectFieldsCtx
(
ctx
,
nil
)
for
_
,
field
:=
range
fields
{
if
field
.
Definition
.
Directives
.
ForName
(
"with"
)
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets