dbs

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USERNAME = "root"
	PASSWORD = ""
	PORT     = 3306
	SERVER   = "127.0.0.1"
	NETWORK  = "tcp"
	DATABASE = "demo"
)

Variables

View Source
var DB *sqlx.DB

Functions

func Delete

func Delete(TablesName string, whereData map[string]interface{})

func Insert

func Insert(TablesName string, date map[string]interface{})

func Update

func Update(TablesName string, date map[string]interface{}, whereData map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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