Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
161
func
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_parseOption
Function · 0.85
ParseSQL
Function · 0.85
Calls
1
f
Function · 0.50
Tested by
1
Test_parseOption
Function · 0.68