price

package
v0.0.0-...-2dd3a06 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright © 2023 Gunjan Patel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Price

type Price struct {
	Hour  string  `json:"time"`
	Value float32 `json:"value"`
}

type PricesByDate

type PricesByDate struct {
	Date   time.Time `json:"PriceDate"`
	Prices []Price   `json:"DisplayPrices"`
}

Prices struct which contains an array of prices

func GetPrice

func GetPrice(FilterDate ...time.Time) PricesByDate

Jump to

Keyboard shortcuts

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