crdb

package
v1.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tables = map[string]interface{}{
	"table_admin":    admin.DB_BLOG_ADMIN{},
	"table_post":     article.DB_BLOG_POST{},
	"table_cate":     article.DB_BLOG_CATES{},
	"table_tag":      article.DB_BLOG_TAGS{},
	"table_share":    article.DB_BLOG_SHARE{},
	"table_like":     article.DB_BLOG_LIKES{},
	"table_view":     article.DB_BLOG_VIEWS{},
	"table_comment":  article.DB_BLOG_COMMENTS{},
	"table_zhuanlan": article.DB_BLOG_ZHUANLAN{},
	"table_message":  message.DB_BLOG_MESSAGES{},
	"table_sub":      subscribe.DB_BLOG_SUBSCRIBE{},
}

Tables 用于驱动的结构体字典

Functions

func InitTables

func InitTables() error

InitTables 启动时初始化所有数据库表 默认创建

Types

This section is empty.

Jump to

Keyboard shortcuts

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