Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Prices ¶
type Prices struct {
// contains filtered or unexported fields
}
Prices represents a collection of energy prices.
Though we understand there to be 24 prices (one for each hour of the day) in practice, Prices doesn't enforce this. Instead, it is up to the caller to ensure that the number of prices is correct. This might seem odd, but it makes Prices somewhat more flexible, and it makes testing easier.
func (*Prices) AverageHours ¶
Click to show internal directories.
Click to hide internal directories.