package
1.1.1
Repository: https://github.com/gituser143/cryptgo.git
Documentation: pkg.go.dev

# Functions

GetCurrencyID returns the currencyID stored from metadata.
GetFavourites reads stored favourite coin details from ~/.cryptgo-data.json and returns a map.
GetPortfolio reads stored portfolio details from ~/.cryptgo-data.json and returns a map.
LoopTick runs a given action in a loop in periods of 't' duration.
MaxFloat64 returns maximum float from a given number of floats.
MinFloat64 returns minimum float from a given number of floats.
RoundValues rounds off a pair of given floats to Thousands (kilo), Millions (mega) or Billions (giga).
SaveMetadata exports favourites, currency and portfolio to disk.
SortData helps sort table rows.

# Constants

DownArrow provides the symbol for decrease.
UpArrow provides the symbol for increase.

# Structs

AllCurrencyData holds data of a group of currencies fetched from CoinCap.
Currency holds currency data when fetched from CoinCap.
Metadata holds persistent information to be stored to disk.