model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 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 Choice

type Choice struct {
	ID   int32  `json:"id"`
	Name string `json:"name"`
}

type Choices

type Choices []*Choice

type Result

type Result struct {
	Player   int32
	Computer int32
	Results  string
}

func NewResult

func NewResult(player, computer int32, results string) Result

Jump to

Keyboard shortcuts

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