- Test environment with go compiler
a) navigate to root directory where main.go file exists.
b) run command below either command
go run .or
go run main.go- Production environment executable file (Linux env)
a) While in the project root directory
b) Run command below
go build -o bin/currencyappA binary executable file will be created in directory path bin/
To execute the binary file in the created bin directory
./currencyapp- reload -> Application to fetch and update the list of currency codes while already running
- exit -> application exiting gracefully
- help -> displays instructions for using the application
- Application accepts multi input currency code search as long the codes are comma separated
- main.go contains the application specific functionality
- models.go contains data object definations and validations
- utilities.go contains reusable fucntinality across other code bases