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

Function WithColumnPrefix

pkg/sql2code/parser/option.go:84–88  ·  view source on GitHub ↗

WithColumnPrefix set column prefix

(p string)

Source from the content-addressed store, hash-verified

82
83// WithColumnPrefix set column prefix
84func WithColumnPrefix(p string) Option {
85 return func(o *options) {
86 o.ColumnPrefix = p
87 }
88}
89
90// WithJSONTag set json tag, 0 for underscore, other values for hump
91func WithJSONTag(namedType int) Option {

Callers 2

setOptionsFunction · 0.92
Test_parseOptionFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_parseOptionFunction · 0.68