package
0.0.0-20230309142113-a0fbff082e39
Repository: https://github.com/gbeletti/service-golang.git
Documentation: pkg.go.dev

# Functions

GetBitcoinVariation returns the bitcoin variation on a given period.

# Variables

ErrStartDateAfterEndDate is the error returned when the start date is after the end date.

# Structs

BitcoinPrice represents the price of a bitcoin on a given date.
Variation represents a single day variation of an asset.

# Interfaces

BitcoinPriceGetter is the interface that wraps the GetBitcoinPrice method.