Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustLoadEnv ¶
func MustLoadEnv(path ...string)
MustLoadEnv try to load .env file from a path. If file does not exist, it will do nothing.
func MustNotEmptyString ¶
MustNotEmptyString panics if the string is empty.
func SearchUpwardForFile ¶
SearchUpwardForFile searches for a file in the current directory and all parent directories.
Types ¶
type DevDatabase ¶
func NewTestDatabase ¶
func NewTestDatabase(databaseName string) *DevDatabase
func (*DevDatabase) Close ¶
func (db *DevDatabase) Close(t Testing)
func (*DevDatabase) String ¶
func (db *DevDatabase) String() string
Click to show internal directories.
Click to hide internal directories.