generated

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewMod

type NewMod struct {
	Name             string          `json:"name" validate:"required,min=3,max=32"`
	ShortDescription string          `json:"short_description" validate:"required,min=16,max=128"`
	FullDescription  *string         `json:"full_description"`
	SourceURL        *string         `json:"source_url"`
	ModReference     string          `json:"mod_reference"`
	Hidden           *bool           `json:"hidden"`
}

type UpdateMod

type UpdateMod struct {
	Name             *string         `json:"name" validate:"min=3,max=32"`
	ShortDescription *string         `json:"short_description" validate:"min=16,max=128"`
	FullDescription  *string         `json:"full_description"`
	SourceURL        *string         `json:"source_url"`
	ModReference     *string         `json:"mod_reference"`
	Hidden           *bool           `json:"hidden"`
	Authors          []UpdateUserMod `json:"authors"`
}

Jump to

Keyboard shortcuts

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