Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ fillDefaults
Method
fillDefaults
input/inputtest/random.go:26–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
}
25
26
func
(cfg *RandomConfig) fillDefaults() {
27
if
cfg.Records == 0 {
28
cfg.Records = 1000
29
}
30
}
31
32
// A Random input is baker input used for testing. It generates a specified
33
// number of random, but valid, records.
Callers
1
NewRandom
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected