MCPcopy Create free account
hub / github.com/AdRoll/baker / fillDefaults

Method fillDefaults

filter/expand_json.go:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (cfg *ExpandJSONConfig) fillDefaults() {
47 if len(cfg.TrueFalseValues) == 0 {
48 cfg.TrueFalseValues = []string{"true", "false"}
49 }
50}
51
52const trueIdx, falseIdx = 0, 1
53

Callers 1

NewExpandJSONFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected