package
Version:
v0.0.0-...-3f2af06
Opens a new window with list of versions in this module.
Published: May 30, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package asoularticle asoul.icu小作文
func Partition[T any](list []T, size int) (plist [][]T)
Partition 分组函数
type Article struct {
ID int `gorm:"primary_key;AUTO_INCREMENT"`
Title string `gorm:"column:title"`
Author string `gorm:"column:author"`
Brief string `gorm:"column:brief"`
CreateTime int64 `gorm:"column:create_time"`
Tags string `gorm:"column:tags"`
}
Article 小作文数据
type Articles struct {
ID int `json:"id"`
Title string `json:"title"`
Author string `json:"author"`
Brief string `json:"brief"`
CreateTime int64 `json:"createTime"`
Tags []string `json:"tags"`
}
Articles 小作文数据
Source Files
¶
Click to show internal directories.
Click to hide internal directories.