asoularticle

package
v0.0.0-...-3f2af06 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package asoularticle asoul.icu小作文

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Partition

func Partition[T any](list []T, size int) (plist [][]T)

Partition 分组函数

Types

type Article

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 小作文数据

func (Article) TableName

func (Article) TableName() string

TableName 表名

type Articles

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 小作文数据

Jump to

Keyboard shortcuts

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