Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstantBase ¶
type ConstantBase struct { Name string `koanf:"name"` Time time.Time `koanf:"time"` StartingPrice float64 `koanf:"startingPrice"` }
ConstantBase is a base that is a constant time, e.g. 2020-01-01.
func (ConstantBase) GetStartingPrice ¶ added in v0.0.7
func (cb ConstantBase) GetStartingPrice() float64
func (ConstantBase) Label ¶
func (cb ConstantBase) Label() string
type Math ¶
type Projection ¶
func ProjectDates ¶
type RelativeBase ¶
RelativeBase is a base that is relative, e.g. "90 days ago".
func (RelativeBase) GetStartingPrice ¶ added in v0.0.7
func (rb RelativeBase) GetStartingPrice() float64
func (RelativeBase) Label ¶
func (rb RelativeBase) Label() string
Click to show internal directories.
Click to hide internal directories.