-
-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
Describe the feature
if I added a pg colume role_ids int8[] not null default '{}', and when generate model, want the golang field to be []int64, I can specify the type via gen.FieldType("role_ids", "[]int64")), and generate the code, but when start app, the code won't compile.
So, I'm wondering can you provide a type that support this feature, just like datatypes.JSON would support a json type.
Motivation
generate pg array field as golang slice
Related Issues
Metadata
Metadata
Assignees
Labels
No labels