Documentation ¶
Index ¶
- Variables
- func GetTableInfo(uploadType string) (tableName string, fieldName string, defaults []string)
- type TableInfo
- func (t *TableInfo) FieldName() string
- func (t *TableInfo) SetFieldName(fieldName string) TableInfoStorer
- func (t *TableInfo) SetTableID(tableID string) TableInfoStorer
- func (t *TableInfo) SetTableName(tableName string) TableInfoStorer
- func (t *TableInfo) TableID() string
- func (t *TableInfo) TableName() string
- type TableInfoStorer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExistsFile = errors.New("exists file") ErrInvalidFieldName = errors.New("Invalid field name") )
Functions ¶
Types ¶
type TableInfo ¶
type TableInfo struct {
// contains filtered or unexported fields
}
func (*TableInfo) SetFieldName ¶
func (t *TableInfo) SetFieldName(fieldName string) TableInfoStorer
func (*TableInfo) SetTableID ¶
func (t *TableInfo) SetTableID(tableID string) TableInfoStorer
func (*TableInfo) SetTableName ¶
func (t *TableInfo) SetTableName(tableName string) TableInfoStorer
type TableInfoStorer ¶
type TableInfoStorer interface { SetTableID(string) TableInfoStorer SetTableName(string) TableInfoStorer SetFieldName(string) TableInfoStorer TableID() string TableName() string FieldName() string }
Click to show internal directories.
Click to hide internal directories.