page

package
v0.0.0-...-c622313 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	ID          int
	Title       string
	Status      string
	Author      string
	DisplayTime string
	Pageviews   int
}

Article 文章信息

type User

type User struct {
	Roles        []string
	Introduction string
	Avatar       string
	Name         string
}

User 用户登录信息结构体

type Users

type Users struct {
	ID        int    `json:"id"`
	Name      string `json:"username"`
	Password  string `json:"password"`
	Avatar    string `json:"avatar"`
	UserType  string `json:"user_type"`
	State     string `json:"state"`
	Deteled   string `json:"deteled"`
	CreatedOn string `json:"created_on"`
}

Users 用户管理结构体

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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