tests

package
Version: v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DivRoundUp

func DivRoundUp(n, d int) int

func GetPersistTestDB added in v1.0.0

func GetPersistTestDB(dbName string, automigrates ...interface{}) (*gorm.DB, error)

func GetTestDB

func GetTestDB(automigrates ...interface{}) (*gorm.DB, error)

func RandInt

func RandInt(a, b int) int

func RandStr added in v1.0.0

func RandStr(n int) string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL