api

package
v0.0.0-...-8c1e340 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type CardUpdate

type CardUpdate struct {
	UserID   int    `json:"user_id"`
	CardID   string `json:"card_id" binding:"required"`
	Quantity int    `json:"quantity" binding:"required"`
}

type UserResponse

type UserResponse struct {
	User database.User `json:"user"`
}

type UsersResponse

type UsersResponse struct {
	Users []database.User `json:"users"`
}

Jump to

Keyboard shortcuts

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