package
Version:
v0.0.0-...-993f52c
Opens a new window with list of versions in this module.
Published: May 23, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ReadCiAuthors 用于获取宋词词人的信息
type Ci struct {
gorm.Model
Author string `gorm:"type:varchar(255)"`
Paragraphs string `gorm:"type:text"`
Rhythmic string `gorm:"type:varchar(255)"`
}
Ci 是宋词的数据库结构
ReadCi 是用来读取宋词数据并转换成数据库模型
type JSONCi struct {
Author string `json:"author"`
Paragraphs []string `json:"paragraphs"`
Rhythmic string `json:"rhythmic"`
}
JSONCi 是宋词的 JSON 的结构
Source Files
¶
Click to show internal directories.
Click to hide internal directories.