Installation
How to install Apisense
Release Binaries
The easiest way of installing Apisense as of now is downloading the binary for your system on our GitHub release page: https://github.com/buonotti/apisense/releases/
Go install
You can install the binary with go install by running the following command in your shell
go install github.com/buonotti/apisense@latestThis command will install the latest available version to "$GOPATH"/bin. To know where go stores its files run the following command
go env GOPATHBuild 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/apisense
cd apisense
go build
go installOptionally you can also do the same steps by running make
To install the binary to $GOPATH/bin run
Or to just build the binary run
If you want to regenerate the OpenApi spec run swag init in the root of the project
Last updated