Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMigration ¶
func ApplyMigration(t *testing.T, beforeMigration, afterMigration, migrationFunc func(tx *bbolt.Tx) error, shouldFail bool)
ApplyMigration is a helper test function that encapsulates the general steps which are needed to properly check the result of applying migration function.
func DumpDB ¶
DumpDB dumps go code describing the contents of the database to stdout. This function is only intended for use during development.
Example output:
map[string]interface{}{ hex("1234"): map[string]interface{}{ "human-readable": hex("102030"), hex("1111"): hex("5783492373"), }, }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.