model

package
v0.0.0-...-6559d9f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 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 Blog

type Blog struct {
	ID           string `json:"id"`
	CreatorEmail string `json:"creatoremail"`
	CreateTime   string `json:"createtime"`
	Title        string `json:"title"`
	IsPublic     string `json:"ispublic"`
	Content      string `json:"content"`
	Tag          string `json:"tag"`
}

type Comment

type Comment struct {
}

type User

type User struct {
	Username  string
	Password  string
	Email     string
	BlockList []string //保存BlogName
}

User 定义在数据库中保存的user数据结构

Jump to

Keyboard shortcuts

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