db

package
v0.0.0-...-3f8f567 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RowNULL = fmt.Errorf("empty result")

Functions

func Get

func Get(key string) *gorm.DB

func Register

func Register() error

func ToMap

func ToMap(rows *sql.Rows) (*structs.M, error)

func ToSliceMap

func ToSliceMap(rows *sql.Rows) ([]*structs.M, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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