Documentation
¶
Index ¶
Constants ¶
View Source
const EnvGenerateSnapshots = "GROQ_TEST_GENERATE_SNAPSHOTS"
Variables ¶
This section is empty.
Functions ¶
func ReadSnapshot ¶
ReadSnapshot reads a snapshot file. If it doesn't exist, the provided data is written, but only if the EnvVarGenerateSnapshots envvar is set.
func SnapshotFileName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.