Skip to content

NickRI/fiatconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fiatconv

Currency cli utility converter

Uses https://exchangeratesapi.io as data source.

Based on the Clean Architecture approaches.

Uses contexts where it possible.

Arguments

  • amount float
  • src_symbol string
  • dst_symbol string

Example

$ ./fiatconv 123.45 USD RUB
123.45 USD = 7894.12 RUB

Dependencies

Project holds all dependencies in vendor directory.

Testing

This project uses mock framework for testing.

To re-generate all mock files use:

$ go generate ./...

To run all tests:

$ go test -cover -v `go list ./...`

About

Cli currency converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages