Documentation
¶
Overview ¶
The MIT License (MIT) Copyright (c) 2017 Arlex Martinez <@lexmartinez> https://github.com/lexmartinez/go-currency-converter
Index ¶
- func Close(f io.Closer) error
- func Convert(from, to string, amount float64) float64
- func Copy(src, dst string) (int64, error)
- func GetPrice(sym string) float64
- func GetPriceV2(name string) float64
- func Marshal(v interface{}) ([]byte, error)
- func Open(f string) (*os.File, error)
- func Read(f *os.File) ([]byte, error)
- func Stf(s string) float64
- func Unmarshal(bytes []byte, v interface{}) error
- func Write(bytes []byte, fpath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPriceV2 ¶
GetPriceV2 scrapes coinmarketcap.com to fetch prices
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.