Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Afternoon = greeting{Hello: "Goedemiddag! ☀️", Goodbye: "Fijne dag verder!"}
View Source
var ErrStatus = errors.New("status code is not 200")
View Source
var Evening = greeting{Hello: "Goedenavond! 🌙", Goodbye: "Geniet van je avond!"}
Functions ¶
func AddCharges ¶
func FormatCurrencyValue ¶
func GetGreeting ¶
func GetGreeting() greeting
func GetPriceEmoji ¶
func GetTomorrowDate ¶
func GetTomorrowDate() string
func PrepareQueryParameters ¶
func PrepareQueryParameters() string
Types ¶
type EnergyPrices ¶
type EnergyPrices struct { Prices []Price Average float64 AverageHours []int High float64 HighHours []int Low float64 LowHours []int }
func GetEnergyPrices ¶
func GetEnergyPrices() (*EnergyPrices, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.