Help us shape the future of Go! Take the 2026 Go Developer Survey

request

package
v2.3.24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 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 NewsCreateRequest

type NewsCreateRequest struct {
	Title   string  `json:"title" binding:"required,max=255,min=2"`
	Content *string `json:"content" binding:"omitempty,max=1024,min=1"`
}

type NewsImportRequest

type NewsImportRequest struct {
	Title   string  `json:"title" binding:"required,max=255,min=2" csv:"title"`
	Content *string `json:"content" binding:"omitempty,max=1024,min=1" csv:"content"`
}

type NewsMassUpdateRequest

type NewsMassUpdateRequest struct {
	Content *string `json:"content" binding:"omitempty,max=1024,min=1"`
}

type NewsUpdateRequest

type NewsUpdateRequest struct {
	Title   *string `json:"title" binding:"omitempty,max=255,min=2"`
	Content *string `json:"content" binding:"omitempty,max=1024,min=1"`
}

Jump to

Keyboard shortcuts

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