This project uses go modules as package manager. You can install the source code with:
$ go get -v github.com/pedrolopesme/call-it
After getting the source code you can use the following command to get the dependencies:
$ go get -v ./...
To get the binary into your path, you can run the following inside the source code's folder:
$ go install .
This project provides a Makefile with all common operations need to develop, test and build call-it.
- build: generates binaries
- test: runs all tests
- clean: removes binaries
- run: executes main func
- fmt: runs gofmt for all go files
Tests were write using Testify. In order to run them, just type:
$ make test
These are the main external packages that make up Call It:
packages | description |
---|---|
cli | A simple, fast, and fun package for building command line apps in Go |
httpmock | HTTP mocking for Golang |
spinner | Go (golang) package for providing a terminal spinner/progress indicator with options |
tablewriter | ASCII table in golang |
testify | A toolkit with common assertions and mocks that plays nicely with the standard library |
goscritp | Goscript: Runtime execution of Go code. |
Call It logo was created by Flat Icons, released under Flaticon Basic License.