package
4.3.12+incompatible
Repository: https://github.com/marcelorube/khan.git
Documentation: pkg.go.dev

# Functions

BeforeOnce runs the before each block only once.
CreateClanNameTextIndexInMongo creates the necessary text index for clan search in mongo.
GetTestClansSummariesCache returns a test cache for clans summaries.
GetTestDB returns a connection to the test database.
NewMockKV is a mock key value store.
NewMockLogger returns a mock logger for tests.
WaitForFunc waits for a given function to finish without error or a timeout.

# Structs

MockKeyValue store.
MockLogger implements the zap logger interface but stores all the logged messages for inspection.