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

Function parseOption

pkg/sql2code/parser/option.go:161–170  ·  view source on GitHub ↗
(options []Option)

Source from the content-addressed store, hash-verified

159}
160
161func parseOption(options []Option) options {
162 o := defaultOptions
163 for _, f := range options {
164 f(&o)
165 }
166 if o.NoNullType {
167 o.NullStyle = NullDisable
168 }
169 return o
170}

Callers 2

Test_parseOptionFunction · 0.85
ParseSQLFunction · 0.85

Calls 1

fFunction · 0.50

Tested by 1

Test_parseOptionFunction · 0.68