models

package
v1.0.0-rc.27 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Game int `json:"game" yaml:"game"`
	Bots int `json:"bots" yaml:"bots"`
}

type Games

type Games struct {
	Games []*Game `json:"games" yaml:"games"`
}

func NewGames

func NewGames(state map[int]int) *Games

func (*Games) ToMapState

func (g *Games) ToMapState() map[int]int

Jump to

Keyboard shortcuts

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