databases

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conn

func Conn(configures *config.MysqlConf) (db *gorm.DB, err error)

func Init

func Init(configures *config.MysqlConf)

Init, init mysql oa database connection and create user table if not exists

func UpdateMysql

func UpdateMysql(update map[string]byte, where map[string]byte, configures *config.MysqlConf) (database *gorm.DB, err error)

UpdateMysql, update user table

Types

This section is empty.

Jump to

Keyboard shortcuts

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