status

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseStatFromDescription

func ParseStatFromDescription(text string) string

ParseStatFromDescription expects the stat to be the first part of the string and could have a %, mb, or something directly after it

Types

type Status

type Status struct {
	Stat           string
	ComparisonStat string
	Goal           string
	State          state
	Description    string
}

func NewStatus

func NewStatus(stat, comparisonStat, goal string) (*Status, error)

Jump to

Keyboard shortcuts

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