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

Function WithCustomTemplate

pkg/sql2code/parser/option.go:155–159  ·  view source on GitHub ↗

WithCustomTemplate set custom template

()

Source from the content-addressed store, hash-verified

153
154// WithCustomTemplate set custom template
155func WithCustomTemplate() Option {
156 return func(o *options) {
157 o.IsCustomTemplate = true
158 }
159}
160
161func parseOption(options []Option) options {
162 o := defaultOptions

Callers 3

setOptionsFunction · 0.92
TestParseSQLFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestParseSQLFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…