Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadDatabaseChecksum = errors.New("The code doesn't match the database's structure.")
Functions ¶
func Checksum ¶
func Checksum() string
Checksum is an autoapi-generated checksum of the state of the database, at time of generation.
func MustValidateChecksum ¶
MustValidateChecksum compares the checksum against the database, and panics if they don't match. Useful when you absolutely don't want to run the software against a non-matching version of the db.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.