Documentation
¶
Index ¶
Constants ¶
View Source
const RaceEnabled = false
RaceEnabled is true when -race flag is provided to the go tool. This const might be used in tests to skip some cases as the race detector may increase memory usage 5-10x and execution time by 2-20x. That might causes problems on Travis. Please, use this flag sparingly and keep your unit tests as light on resources as possible.
Variables ¶
This section is empty.
Functions ¶
func CheckTag ¶ added in v1.9.0
CheckTag checks the first tag in the api struct to be in a certain state
func RandomBytes ¶ added in v1.8.20
RandomBytes returns pseudo-random deterministic result because test fails must be reproducible
func RandomReader ¶ added in v1.8.20
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.