db

package
v0.0.0-...-6c8b26e Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSqliteDB

func DefaultSqliteDB(fs ...FuncWithDB) error

func MysqlDB

func MysqlDB(fs ...FuncWithDB) error

func SqliteDB

func SqliteDB(dbName string, fs ...FuncWithDB) error

Types

type FuncWithDB

type FuncWithDB func(db *gorm.DB) error

Jump to

Keyboard shortcuts

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