Documentation ¶
Index ¶
- type FieldsConfigSortType
- type FieldsConfigSortsType
- type FieldsConfigType
- type FieldsConfigsType
- func (t FieldsConfigsType) CheckVal(mark string, val string) (nowVal string, b bool)
- func (t FieldsConfigsType) GetVal(mark string) (val string, b bool)
- func (t FieldsConfigsType) GetValBool(mark string) (val bool, b bool)
- func (t FieldsConfigsType) GetValFloat64(mark string) (val float64, b bool)
- func (t FieldsConfigsType) GetValInt(mark string) (val int, b bool)
- func (t FieldsConfigsType) GetValInt64(mark string) (val int64, b bool)
- func (t FieldsConfigsType) GetValInt64NoBool(mark string) (val int64)
- func (t FieldsConfigsType) GetValIntNoBool(mark string) (val int)
- func (t FieldsConfigsType) GetValNoBool(mark string) (val string)
- func (t FieldsConfigsType) GetValNoErr(mark string) (val string)
- func (t *FieldsConfigsType) Scan(value interface{}) error
- func (t FieldsConfigsType) Value() (driver.Value, error)
- type FieldsInfoType
- type FieldsInfosType
- type FieldsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldsConfigSortType ¶
type FieldsConfigSortType struct { //标识码 Mark string `db:"mark" json:"mark" check:"mark" empty:"true"` //值 Val string `db:"val" json:"val"` }
FieldsConfigSortType 简化得扩展结构
func (*FieldsConfigSortType) Scan ¶
func (t *FieldsConfigSortType) Scan(value interface{}) error
type FieldsConfigSortsType ¶
type FieldsConfigSortsType []FieldsConfigSortType
FieldsConfigSortsType 简化得扩展结构
func (*FieldsConfigSortsType) Scan ¶
func (t *FieldsConfigSortsType) Scan(value interface{}) error
type FieldsConfigType ¶
type FieldsConfigType struct { //标识码 Mark string `db:"mark" json:"mark" check:"mark" empty:"true"` //值 Val string `db:"val" json:"val"` }
FieldsConfigType 简化得扩展结构
func (*FieldsConfigType) Scan ¶
func (t *FieldsConfigType) Scan(value interface{}) error
type FieldsConfigsType ¶
type FieldsConfigsType []FieldsConfigType
FieldsConfigsType 简化得扩展结构
func Set ¶
func Set(data FieldsConfigsType, mark string, val interface{}) FieldsConfigsType
Set 写入数据
func (FieldsConfigsType) CheckVal ¶
func (t FieldsConfigsType) CheckVal(mark string, val string) (nowVal string, b bool)
CheckVal 检查一组数据内的值是否匹配
func (FieldsConfigsType) GetVal ¶
func (t FieldsConfigsType) GetVal(mark string) (val string, b bool)
GetVal 抽取指定的值
func (FieldsConfigsType) GetValBool ¶
func (t FieldsConfigsType) GetValBool(mark string) (val bool, b bool)
GetValBool 抽取指定的值
func (FieldsConfigsType) GetValFloat64 ¶
func (t FieldsConfigsType) GetValFloat64(mark string) (val float64, b bool)
GetValFloat64 抽取指定的值
func (FieldsConfigsType) GetValInt ¶
func (t FieldsConfigsType) GetValInt(mark string) (val int, b bool)
GetValInt 抽取指定的值
func (FieldsConfigsType) GetValInt64 ¶
func (t FieldsConfigsType) GetValInt64(mark string) (val int64, b bool)
GetValInt64 抽取指定的值
func (FieldsConfigsType) GetValInt64NoBool ¶
func (t FieldsConfigsType) GetValInt64NoBool(mark string) (val int64)
func (FieldsConfigsType) GetValIntNoBool ¶
func (t FieldsConfigsType) GetValIntNoBool(mark string) (val int)
GetValIntNoBool 抽取指定的值
func (FieldsConfigsType) GetValNoBool ¶
func (t FieldsConfigsType) GetValNoBool(mark string) (val string)
func (FieldsConfigsType) GetValNoErr ¶
func (t FieldsConfigsType) GetValNoErr(mark string) (val string)
func (*FieldsConfigsType) Scan ¶
func (t *FieldsConfigsType) Scan(value interface{}) error
type FieldsInfoType ¶
type FieldsInfoType struct { //标识码 Mark string `db:"mark" json:"mark"` //名称 Name string `db:"name" json:"name"` //值 Val string `db:"val" json:"val"` }
FieldsInfoType 扩展结构
func (*FieldsInfoType) Scan ¶
func (t *FieldsInfoType) Scan(value interface{}) error
type FieldsInfosType ¶
type FieldsInfosType []FieldsInfoType
func (*FieldsInfosType) Scan ¶
func (t *FieldsInfosType) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.