MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / WithPackage

Function WithPackage

pkg/sql2code/parser/option.go:113–117  ·  view source on GitHub ↗

WithPackage set package name

(pkg string)

Source from the content-addressed store, hash-verified

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

Callers 2

setOptionsFunction · 0.92
Test_parseOptionFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_parseOptionFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…