Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { TmpCategory TmpCategory // contains filtered or unexported fields }
Config 配置
func (*Config) NewTmpCategory ¶
type Tmp ¶
type Tmp struct { Id int `json:"id"` // id Count int `json:"count"` // 数量 Name string `json:"name"` // 名字 Num float32 `json:"num"` // 数量 Ns []int `json:"ns"` // aaa Nn []string `json:"nn"` // addd M map[string]int `json:"m"` // adsa Ms map[string]string `json:"ms"` // adsff B bool `json:"b"` // 真假 }
type TmpCategory ¶
type TmpCategory struct {
// contains filtered or unexported fields
}
func NewTmpCategory ¶
func NewTmpCategory(file string) (TmpCategory, error)
func (TmpCategory) Get ¶
func (t TmpCategory) Get(id int) Tmp
func (TmpCategory) GetAll ¶
func (t TmpCategory) GetAll() map[int]Tmp
Click to show internal directories.
Click to hide internal directories.