platform

package
v0.0.0-...-41ef176 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRoutes

func SetupRoutes(engine *gin.Engine, basePath string)

Types

type Platform

type Platform struct {
	Id uuid.UUID `json:"id"`
	// Name is a full name of the platform.
	Name string `json:"name"`
	// ShortName is a shortened Name, useful for display when there's less available space (IE: Sony PlayStation 5 == PS5).
	ShortName string `json:"shortName"`
}

Platform defines a hardware that can be used to play a game. Think PCs, PlayStation consoles, ETC.

type SortOrder

type SortOrder uint8
const (
	SortById SortOrder = iota
	SortByName
	SortByShortName
)

Jump to

Keyboard shortcuts

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