dbtest

package
v0.0.0-...-bc6c5c1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(fn func(db *gorm.DB))

func MustOpen

func MustOpen() *gorm.DB

func Open

func Open() (*gorm.DB, error)

func OpenNative

func OpenNative() (*sql.DB, error)

func WithRollback

func WithRollback(fn func(db *gorm.DB))

Types

This section is empty.

Jump to

Keyboard shortcuts

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