Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { gorm.Model Name string `gorm:"type:varchar(255);index" json:"name"` Desc string `gorm:"type:text" json:"desc"` Type string `gorm:"type:varchar(255)"` ShortDescription string `gorm:"type:text" json:"short_description"` }
Author 用来描述作者的信息
type JSONPoetry ¶
type JSONPoetry struct { Strains []string `json:"strains"` Author string `json:"author"` Paragraphs []string `json:"paragraphs"` Title string `json:"title"` }
JSONPoetry 诗的 JSON 结构
Click to show internal directories.
Click to hide internal directories.