tag

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchDelete added in v1.2.0

func BatchDelete(c *gin.Context, in *BatchDeleteRequest)

BatchDelete 批量删除标签

func Create

func Create(c *gin.Context, in *CreateRequest)

Create 创建标签

func Delete

func Delete(c *gin.Context, in *DeleteRequest)

Delete 删除标签

func List

func List(c *gin.Context, in *ListRequest)

List 标签列表

func Update

func Update(c *gin.Context, in *UpdateRequest)

Update 编辑标签

Types

type BatchDeleteRequest added in v1.2.0

type BatchDeleteRequest struct {
	Uuids []string `json:"uuids" binding:"required"` // 标签唯一标识列表
}

type CreateRequest

type CreateRequest struct {
	Name string `json:"name" binding:"required"` // 标签名称
}

type DeleteRequest

type DeleteRequest struct {
	Uuid string `json:"uuid" binding:"required"` // 标签唯一标识
}

type ListRequest

type ListRequest struct {
	Name string `json:"name"` // 标签名称
}

type UpdateRequest

type UpdateRequest struct {
	Uuid string `json:"uuid" binding:"required"` // 标签唯一标识
	Name string `json:"name" binding:"required"` // 标签名称
}

Jump to

Keyboard shortcuts

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