v1

package
v0.0.0-...-18bc56c Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArticle

func AddArticle(c *gin.Context)

新增文章

func AddTag

func AddTag(c *gin.Context)

func DeleteArticle

func DeleteArticle(c *gin.Context)

删除文章

func DeleteTag

func DeleteTag(c *gin.Context)

@Summary Delete article tag @Produce json @Param id path int true "ID" @Success 200 {object} app.Response @Failure 500 {object} app.Response @Router /api/v1/tags/{id} [delete]

func EditArticle

func EditArticle(c *gin.Context)

修改文章

func EditTag

func EditTag(c *gin.Context)

func GetArticle

func GetArticle(c *gin.Context)

获取单个文章

func GetArticles

func GetArticles(c *gin.Context)

获取多个文章

func GetTags

func GetTags(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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