Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FakeOptions util.FakeOptions = util.GetDefaultFakeOptions()
FakeOptions is used to control the faker options fake-related functionality. This is used in one place to make it possible to override the seed in one location.
Functions ¶
func Sfake ¶
Sfake implements the core logic for rq.sfake(), and for {{sfake}}. It needs to be in it's own package, because the previously generated values are stored in a package level variable. This was initially going to be in builtins, but that would cause a circular import with the io package.
func SfakeTemplate ¶
SfakeTemplate is the tempalte version of Sfake.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.