Skip to content

Commit

Permalink
fix: modify generator (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu authored Jul 26, 2023
1 parent 8c90f9f commit 1f2aa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/generate/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (b *QueryStructMeta) ReturnObject() string {
if b.interfaceMode {
return fmt.Sprint("I", b.ModelStructName, "Do")
}
return fmt.Sprint("*", b.QueryStructName, "Do")
return fmt.Sprint("*", b.QueryDoName, "Do")
}

func isStructType(data reflect.Value) bool {
Expand Down

0 comments on commit 1f2aa28

Please sign in to comment.