Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Levels holds all possible values.
Types holds all possible values.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level byte
Level holds the number of study hours required per point.
func ExtractLevel ¶
ExtractLevel extracts the value from a string.
func (Level) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Level) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Level) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type Type ¶
type Type byte
Type holds the type of study.
func (Type) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Type) Limitations ¶
Limitations returns a list of strings describing the limitations when doing this type of study.
func (Type) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (Type) Multiplier ¶
Multiplier returns the amount to multiply hours spent by for effective study hours.
func (*Type) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.