Commit 9140e575 authored by linty's avatar linty
Browse files

feat: func

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -7,7 +7,7 @@ import (
"gorm.io/gorm"
)
func with(ctx context.Context, db *gorm.DB) *gorm.DB {
func With(ctx context.Context, db *gorm.DB) *gorm.DB {
fields := graphql.CollectFieldsCtx(ctx, nil)
for _, field := range fields {
if field.Definition.Directives.ForName("with") != nil {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment