Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entries ¶
type Entries struct {
Storage StorageInterface
}
func NewAnswerStorage ¶
func NewAnswerStorage(store StorageInterface) *Entries
type Entry ¶
type Entry struct {
ID *int64 `json:"id"`
Username string `json:"username"`
Text string `json:"text"`
AvatarFile string `json:"avatar_file"`
Url string `json:"url"`
Role string `json:"role"`
Datetime *time.Time `json:"datetime"`
DataID int64 `json:"data_id,omitempty"`
ParentID int64 `json:"parent_id,omitempty"`
Type int `json:"type"`
Position int `json:"position"`
}
Click to show internal directories.
Click to hide internal directories.