web

package
v0.0.0-...-721231a Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 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 CategoryCreateRequest

type CategoryCreateRequest struct {
	Name string `validate:"required" json:"name"`
}

type CategoryResponse

type CategoryResponse struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

type CategoryUpdateRequest

type CategoryUpdateRequest struct {
	Id   int    `validate:"required" json:"id"`
	Name string `validate:"required" json:"name"`
}

type WebResponse

type WebResponse struct {
	Code   int         `json:"code"`
	Status string      `json:"status"`
	Data   interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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