Install
Installation
Release Binaries
The easiest way of installing Apisense as of now is downloading the binary for your system on our GitHub release page
Go install
You can install the binary with go install by running the following command in your shell
go install github.com/buonotti/apisense/v2@latest
This command will install the latest available version to "$GOPATH"/bin
.
To know where go stores its files run the following command
go env GOPATH
Build from source
You can also build the project from source.
To do that first clone the repository then run the go build
command to produce the apisense
executable.
You can then also run go install
to install the binary to "$GOPATH/bin"
git clone https://github.com/buonotti/apisensecd apisensego buildgo install
Optionally you can also achieve the same by running make
To install the binary to $GOPATH/bin
run
make
Or to just build the binary run
make build
If you want to regenerate the OpenApi spec run swag init
in the root of the project