gitee.com/h79/goutils@v1.22.10/common/template/item.go (about) 1 package template 2 3 type Items struct { 4 ItMap map[string]Item `json:"items"` //[appid]Item 5 } 6 7 type Item struct { 8 Xml ContentMap `json:"xml"` 9 Json ContentMap `json:"json"` 10 } 11 12 type Content struct { 13 Name string `json:"name"` 14 Func string `json:"func"` 15 } 16 17 type ContentMap map[string]Content