Skip to content

Go CLI program to execute multiple calls to an URL and create simple benchmarks

License

Notifications You must be signed in to change notification settings

pedrolopesme/call-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Call It
Call It

A CLI program to benchmark URL responses across multiple requests


Installation

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 .

Makefile

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

Running tests

Tests were write using Testify. In order to run them, just type:

$ make test

Credits

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.

License

MIT

About

Go CLI program to execute multiple calls to an URL and create simple benchmarks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published