Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNewDevelopmentDB ¶
MustNewDevelopmentDB creates a new development DB. It also returns a function to teardown it after the test.
func MustNewDevelopmentSugaredLogger ¶
func MustNewDevelopmentSugaredLogger() *zap.SugaredLogger
MustNewDevelopmentSugaredLogger returns a development sugared logger.
func RandomString ¶
RandomString generates a random string with given length. Notice: this function uses a pseudo random algorithm, only for use in test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.