question

package
v0.0.0-...-f27ef36 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C struct{}

控制器

func (*C) Detail

func (c *C) Detail(r *ghttp.Request)

问答详情

func (*C) Index

func (c *C) Index(r *ghttp.Request)

问答列表

func (*C) Save

func (c *C) Save(r *ghttp.Request)

问答保存

type SaveReq

type SaveReq struct {
	Id      uint
	Title   string `v:"required#标题不能为空"`
	Content string `v:"required#内容不能为空"`
	Brief   string
	Thumb   string
	Referer string
	Tags    []string
}

问答保存请求

Jump to

Keyboard shortcuts

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