Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed poetryTang.txt.gz PoetryTangTxtGz []byte //go:embed shijing.txt.gz ShijingTxtGz []byte //go:embed songci.txt.gz SongciTxtGz []byte PoetryTangsLines = UnGzipLines(PoetryTangTxtGz) ShijingLines = UnGzipLines(ShijingTxtGz) SongciLines = UnGzipLines(SongciTxtGz) )
Functions ¶
func MustUnGzip ¶
func RandPoetryTang ¶
func RandPoetryTang() string
func RandShijing ¶
func RandShijing() string
func RandSongci ¶
func RandSongci() string
func SliceRandItem ¶
func UnGzipLines ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.