structs

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "2006-01-02T15:04:05Z"

Variables

This section is empty.

Functions

func BirthdayWithIDCard

func BirthdayWithIDCard(idCard string) (*time.Time, error)

func CheckISO70641983MOD112

func CheckISO70641983MOD112(idCard string) bool

func SexWithIDCard

func SexWithIDCard(idCard string) (int, error)

Types

type Date

type Date time.Time

func (Date) MarshalJSON

func (t Date) MarshalJSON() ([]byte, error)

func (Date) Time

func (t Date) Time() time.Time

func (*Date) UnmarshalJSON

func (t *Date) UnmarshalJSON(data []byte) error

type ZeroCoreStructs

type ZeroCoreStructs struct {
	ID         string                 `json:"id,omitempty"`
	CreateTime Date                   `json:"createTime,omitempty"`
	UpdateTime Date                   `json:"updateTime,omitempty"`
	Features   map[string]interface{} `json:"features,omitempty"`
}

func (*ZeroCoreStructs) GetJSONFeature

func (e *ZeroCoreStructs) GetJSONFeature() string

func (*ZeroCoreStructs) InitDefault

func (e *ZeroCoreStructs) InitDefault() error

func (*ZeroCoreStructs) LoadRowData

func (e *ZeroCoreStructs) LoadRowData(rowmap map[string]interface{})

func (*ZeroCoreStructs) SetJSONFeature

func (e *ZeroCoreStructs) SetJSONFeature(jsonString string)

func (*ZeroCoreStructs) String

func (e *ZeroCoreStructs) String() string

func (*ZeroCoreStructs) UInt8ToString

func (e *ZeroCoreStructs) UInt8ToString(bs []uint8) string

type ZeroMeta added in v1.4.2

type ZeroMeta struct {
	Meta *ZeroMetaPtr
}

func (*ZeroMeta) This added in v1.4.2

func (meta *ZeroMeta) This() interface{}

type ZeroMetaDef added in v1.4.2

type ZeroMetaDef interface {
	This() interface{}
}

type ZeroMetaPtr added in v1.4.2

type ZeroMetaPtr struct {
	MetaPtr interface{}
}

func (*ZeroMetaPtr) Meta added in v1.4.2

func (meta *ZeroMetaPtr) Meta(m interface{})

func (*ZeroMetaPtr) This added in v1.4.2

func (meta *ZeroMetaPtr) This() interface{}

type ZeroRequest

type ZeroRequest struct {
	Querys  []interface{}          `json:"querys,omitempty"`
	Expands map[string]interface{} `json:"expands,omitempty"`
}

type ZeroResponse

type ZeroResponse struct {
	Code    int                    `json:"code,omitempty"`
	Message string                 `json:"message,omitempty"`
	Datas   []interface{}          `json:"datas,omitempty"`
	Expands map[string]interface{} `json:"expands,omitempty"`
}

Jump to

Keyboard shortcuts

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