Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
func
(cfg *ExpandJSONConfig) fillDefaults() {
47
if
len(cfg.TrueFalseValues) == 0 {
48
cfg.TrueFalseValues = []string{
"true"
,
"false"
}
49
}
50
}
51
52
const
trueIdx, falseIdx = 0, 1
53
Callers
1
NewExpandJSON
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected