1 package data 2 3 // Article is runtime object, that's not meant to be sent via REST. 4 type Article struct { 5 ID int `db:"id" json:"id" xml:"id"` 6 Title string `db:"title" json:"title" xml:"title"` 7 Data []string `db:"data,stringarray" json:"data" xml:"data"` 8 CustomDataForAuthUsers string `db:"custom_data" json:"-" xml:"-"` 9 } 10