db

package
v0.0.0-...-e273bb9 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(count int)

func GetDB

func GetDB() *gorm.DB

func Mock_DB

func Mock_DB() (*gorm.DB, sqlmock.Sqlmock, error)

func SetDB

func SetDB(argDB *gorm.DB)

Types

type Seeds

type Seeds struct{}

func (*Seeds) ToDo

func (s *Seeds) ToDo()

func (*Seeds) User

func (s *Seeds) User()

Jump to

Keyboard shortcuts

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