database/install/define/err.go

28 lines
851 B
Go

// 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")
)