api

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 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 Price

type Price struct {
	ID       *uint
	DateTime *string `validate:"omitempty,max=100"`
	Store    string  `validate:"required,max=100"`
	Product  string  `validate:"required,max=100"`
	Price    uint    `validate:"required"`
	InStock  *bool
}

type User

type User struct {
	ID       *uint
	Name     string `form:"name" validate:"required,alphanum,max=30"`
	Password string `form:"password" validate:"required,printascii,max=50" json:"-"`
}

type UserToken

type UserToken struct {
	Token string
}

Jump to

Keyboard shortcuts

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