database

package
v0.0.0-...-5a84e51 Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTableWithAlbum

func CreateTableWithAlbum()

--------图片--------

func CreateTableWithArticle

func CreateTableWithArticle()

创建文章表

func CreateTableWithUser

func CreateTableWithUser()

创建用户表

func InitMysql

func InitMysql()

func ModifyDB

func ModifyDB(sql string, args ...interface{}) (int64, error)

操作数据库

func QueryDB

func QueryDB(sql string) (*sql.Rows, error)

func QueryRowDB

func QueryRowDB(sql string) *sql.Row

查询

Types

This section is empty.

Jump to

Keyboard shortcuts

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