vo

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog_vo

type Blog_vo struct {
	Title   string `form:"title" binding:"required"`
	Content string `form:"content" binding:"required"`
	CateId  int64  `form:"cateId" `
	Tags    string `form:"tags" `
	PAid    int64  `form:"paid" `
	SortId  int64  `form:"sortId"`
}

type Category_vo

type Category_vo struct {
	CateId int64  `form:"cateId"`
	Name   string `form:"name" binding:"required"`
}

Blog_vo is the blog item

type EditBlog_vo

type EditBlog_vo struct {
	Aid     int64  `form:"aid" binding:"required"`
	Title   string `form:"title" binding:"required"`
	Content string `form:"content" binding:"required"`
	CateId  int64  `form:"cateId" `
	Tags    string `form:"tags" `
	PAid    int64  `form:"paid" `
	SortId  int64  `form:"sortId"`
}
type Nav_item struct {
	Name         string     `json:"name"`
	Id           int64      `json:"id"`
	Children     []Nav_item `json:"children"`
	LoadOnDemand bool       `json:"load_on_demand"`
}

type Resort_req added in v1.1.0

type Resort_req struct {
	MoveNodeId int64  `json:"move_node_id"`
	NewPaid    int64  `json:"new_paid"`
	NewSort    string `json:"new_sort"`
}

type Tag_vo

type Tag_vo struct {
	TagId int64  `form:"tagId"`
	Name  string `form:"name" binding:"required"`
}

Blog_vo is the blog item

type Tag_with_font_size_vo

type Tag_with_font_size_vo struct {
	TagId     int64  `form:"tagId"`
	Name      string `form:"name" binding:"required"`
	TotalNums int64
	FontSize  int
}

Blog_vo is the blog item

type VBlogItem added in v1.4.0

type VBlogItem struct {
	Aid            int
	Title          sql.NullString
	Content        sql.NullString
	Publish_time   sql.NullString
	Publish_status sql.NullInt64
	Views          int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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