a simple cli tool to get prices if cyptocurrencies and tokens against fiat currency
to get familiar with the language syntax. this is my first project since starting the Tour of Go
gif of working prototypeyou'll need to get an API key from nomics.com
or any crypto price API tbh and just modify the CurrencyResponse
struct in model/pcmodel.go
to unmarshall the json data it recieves properly.
go run server.go
or
generate an executable and run that
makes a request to the nomics API, and prints the related price metrics on the CLI
- Go
- ❤️
nothing at all. good first project. i learnt to make requests with net/http
, got to use the Go bootleg Classes and Object alternatives, and played around with pointers. nothing more with this but on to better things
text a crypto bro, tell them they're ngmi