Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLite3MakeMigrations ¶
type SQLite3MakeMigrations struct { DATABASES []string MODELS []SQLite3Model }
SQLite3 创建迁移
type SQLite3Settings ¶
type SQLite3Settings struct { model.MigrationsHandler // 迁移处理函数 TABLE_NAME string // 表名 // 自定义配置 Settings model.Settings }
SQLite3 模型设置
func (SQLite3Settings) Get ¶
func (modelsettings SQLite3Settings) Get(name string) interface{}
获取自定义配置
func (*SQLite3Settings) Set ¶
func (modelsettings *SQLite3Settings) Set(name string, value interface{})
设置自定义配置
Click to show internal directories.
Click to hide internal directories.