mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
17 lines
318 B
Go
17 lines
318 B
Go
package content
|
|
|
|
import ()
|
|
|
|
type Item struct {
|
|
Id string `json:"id"`
|
|
Name string `json:"name"`
|
|
URI string `json:"URI"`
|
|
Data map[string]interface{} `json:"data"`
|
|
}
|
|
|
|
func NewItem() *Item {
|
|
item := new(Item)
|
|
item.Data = make(map[string]interface{})
|
|
return item
|
|
}
|