Documentation ¶ Index ¶ func Init(router *mux.Router) type Category type Question Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(router *mux.Router) Types ¶ type Category ¶ type Category struct { Id string `json:"id"` Text string `json:"text"` Order string `json:"order"` Options []map[string]string `json:"options"` } type Question ¶ type Question struct { Id string `json:"id"` Text string `json:"text"` Tag string `json:"tag"` Order string `json:"order"` Categories []Category `json:"categories"` } Source Files ¶ View all Source files question.go Click to show internal directories. Click to hide internal directories.