models

package
v0.0.0-...-f2dd2ce Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

模型包

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect()

数据库连接

func Createconfig

func Createconfig()

建表配置,强制建表,会把所有表删掉

func Createdb

func Createdb()

创建数据库

func Createtb

func Createtb()

建数据库表

func Run

func Run()

数据库开跑

func Syncdb

func Syncdb()

同步数据库

func TRUNCATETable

func TRUNCATETable(table []string)

func Updaterbac

func Updaterbac()

Types

This section is empty.

Directories

Path Synopsis
后台模型数据填充包
后台模型数据填充包

Jump to

Keyboard shortcuts

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