WithPackage set package name
(pkg string)
| 111 | |
| 112 | // WithPackage set package name |
| 113 | func WithPackage(pkg string) Option { |
| 114 | return func(o *options) { |
| 115 | o.Package = pkg |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | // WithGormType will write type in gorm tag |
| 120 | func WithGormType() Option { |
no outgoing calls
searching dependent graphs…