CoreSQLConfig

package
v5.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (FieldsConfigSortType) Value

func (t FieldsConfigSortType) Value() (driver.Value, error)

Value sql底层处理器

type FieldsConfigSortsType

type FieldsConfigSortsType []FieldsConfigSortType

FieldsConfigSortsType 简化得扩展结构

func (*FieldsConfigSortsType) Scan

func (t *FieldsConfigSortsType) Scan(value interface{}) error

func (FieldsConfigSortsType) Value

func (t FieldsConfigSortsType) Value() (driver.Value, error)

Value sql底层处理器

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

func (FieldsConfigType) Value

func (t FieldsConfigType) Value() (driver.Value, error)

Value sql底层处理器

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

func (FieldsConfigsType) Value

func (t FieldsConfigsType) Value() (driver.Value, error)

Value sql底层处理器

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

func (FieldsInfoType) Value

func (t FieldsInfoType) Value() (driver.Value, error)

Value sql底层处理器

type FieldsInfosType

type FieldsInfosType []FieldsInfoType

func (*FieldsInfosType) Scan

func (t *FieldsInfosType) Scan(value interface{}) error

func (FieldsInfosType) Value

func (t FieldsInfosType) Value() (driver.Value, error)

Value sql底层处理器

type FieldsMap

type FieldsMap map[string]string

扩展结构

func (*FieldsMap) Scan

func (t *FieldsMap) Scan(value interface{}) error

func (FieldsMap) Value

func (t FieldsMap) Value() (driver.Value, error)

sql底层处理器

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL