fixture

package
Version: v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestTableName      = "people"
	TestCreateTableSql = `` /* 175-byte string literal not displayed */

)

Functions

func GetDate

func GetDate(dt string) (t time.Time)

func InitDB

func InitDB() *gorm.DB

func TruncateRecords

func TruncateRecords(db *gorm.DB) *gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL