迁移数据库初始化安装能力
This commit is contained in:
27
install/define/err.go
Normal file
27
install/define/err.go
Normal file
@ -0,0 +1,27 @@
|
||||
// Package define ...
|
||||
//
|
||||
// Description : define ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2023-09-17 13:29
|
||||
package define
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// FieldNameIsEmpty 字段名为空
|
||||
FieldNameIsEmpty = errors.New("field name is empty")
|
||||
// FieldTypeIsEmpty 字段类型为空
|
||||
FieldTypeIsEmpty = errors.New("field type is empty")
|
||||
// IndexNameIsEmpty 索引名为空
|
||||
IndexNameIsEmpty = errors.New("index name is empty")
|
||||
// IndexTypeIsEmpty 索引类型为空
|
||||
IndexTypeIsEmpty = errors.New("index type is empty")
|
||||
// IndexFieldIsEmpty 索引字段为空
|
||||
IndexFieldIsEmpty = errors.New("index field is empty")
|
||||
// TableNameIsEmpty 数据表名称为空
|
||||
TableNameIsEmpty = errors.New("table name is empty")
|
||||
// TableFieldListIsEmpty 表字段列表为空
|
||||
TableFieldListIsEmpty = errors.New("table field list is empty")
|
||||
)
|
Reference in New Issue
Block a user