Skip to content

Commit 3b1e2ae

Browse files
committed
fix: Update comments in struct.go file
1 parent 4838343 commit 3b1e2ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/schema/struct.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (a *S) Format() *S {
5656
Name: "ParentID",
5757
Type: "string",
5858
GormTag: "size:20;index;",
59-
Comment: fmt.Sprintf("Parent ID (From %s.ID)", a.Name),
59+
Comment: "Parent ID",
6060
Query: &FieldQuery{},
6161
Form: &FieldForm{},
6262
})
@@ -75,7 +75,7 @@ func (a *S) Format() *S {
7575
Name: "Children",
7676
Type: fmt.Sprintf("*%s", utils.ToPlural(a.Name)),
7777
GormTag: "-",
78-
Comment: "Child nodes",
78+
Comment: "Children nodes",
7979
})
8080
}
8181

0 commit comments

Comments
 (0)