This page describe the project structure and gives you a bit of help to start contributing.
The project is maintained by a single person: sundowndev. Contributions are welcome !
!!! tip "Want to contribute ? Clone the project and open some pull requests !"
See the installation page to install the project.
api # REST API code
client # web client code
cmd # Command-line app code
docs # Documentation
pkg # Code base for scanners, utils ...
scripts # Development & deployment scripts
go.mod # Go modules file
main.go # Application entrypoint
go test -v ./...
# Collect coverage
go test -coverprofile=coverage.out ./...
# Open coverage file as HTML
go tool cover -html=coverage.out
Developping on the web client.
cd client
yarn test
yarn test:unit
yarn test:e2e
We use a shell script to format Go files.
sh ./scripts/format.sh
# You can also use GolangCI
golangci-lint run -D errcheck
cd client
yarn lint
yarn lint:fix
We use mkdocs to write our documentation.
python3 -m pip install mkdocs
mkdocs serve
mkdocs gh-deploy