Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { FileBinary []byte // FilePath string Result map[string]Value // contains filtered or unexported fields }
Core 内核
type Value ¶
type Value struct { Type ValueType Int int String string Bytes []byte Rgba []RGBA Rect []ValuePosition Values map[string]Value List []Value Frames []Value }
Value 值
type ValuePosition ¶
type ValueType ¶
type ValueType int
ValueType 值类型
const ( // ValueTypeInt int ValueTypeInt ValueType = 0 // ValueTypeString string ValueTypeString ValueType = 1 // ValueTypeBytes bytes ValueTypeBytes ValueType = 2 // ValueTypeRGBA rgba ValueTypeRGBA ValueType = 3 // ValueTypeMap map[key] ValueType ValueTypeMap ValueType = 4 // ValueTypeList []value ValueTypeList ValueType = 5 // ValueTypeRect []ValuePosition ValueTypeRect ValueType = 6 // ValueTypeFrame []ValueP ValueTypeFrames ValueType = 7 )
Click to show internal directories.
Click to hide internal directories.