File: article.go

package info (click to toggle)
golang-github-go-chi-chi 5.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 664 kB
  • sloc: makefile: 19
file content (9 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
package data

// Article is runtime object, that's not meant to be sent via REST.
type Article struct {
	ID                     int      `db:"id" json:"id" xml:"id"`
	Title                  string   `db:"title" json:"title" xml:"title"`
	Data                   []string `db:"data,stringarray" json:"data" xml:"data"`
	CustomDataForAuthUsers string   `db:"custom_data" json:"-" xml:"-"`
}