types

package
v0.0.0-...-cb57d6c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 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 Board

type Board struct {
	OwnerID string  `json:"ownerID"`
	Code    string  `json:"code"`
	Bingo   bool    `json:"bingo"`
	Boxes   [][]Box `json:"boxes"`
}

func (*Board) CheckBingo

func (board *Board) CheckBingo()

type Box

type Box struct {
	Content     string      `json:"content"`
	Checked     bool        `json:"checked"`
	Coordinates Coordinates `json:"coordinates"`
}

type Config

type Config struct {
	Fields []Field `json:"fields"`
}

type Coordinates

type Coordinates struct {
	X int `json:"x"`
	Y int `json:"y"`
}

type Field

type Field struct {
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

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