analects

package
v0.0.0-...-993f52c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analects

type Analects struct {
	gorm.Model
	Chapter    string `gorm:"type:varchar(255)"`
	Paragraphs string `gorm:"type:text"`
}

Analects 是论语的数据库结构

func ReadAnalects

func ReadAnalects() []Analects

ReadAnalects 是用来读取大学的数据使用

type JSONAnalects

type JSONAnalects struct {
	Chapter    string   `json:"chapter"`
	Paragraphs []string `json:"paragraphs"`
}

JSONAnalects 是 JSON 的文件格式

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL