score

package
v0.0.0-...-5f2b5db Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 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 Score

type Score struct {
	// contains filtered or unexported fields
}

func NewScore

func NewScore(scoreInt int) (*Score, error)

func (Score) Add

func (score Score) Add(otherScore Score) Score

func (Score) Equals

func (score Score) Equals(otherScore Score) bool

func (Score) LessThan

func (score Score) LessThan(otherScore Score) bool

func (Score) Mul

func (score Score) Mul(n int) Score

Jump to

Keyboard shortcuts

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