Programming languages
The server side application is written in Go while the client is written in plain JavaScript
Go
Go is currently at version 1.22 and all code in Offen Fair Web Analytics can expect all features present in that version. Formatting happens using go fmt
and go vet
is enforced in CI. In case you would like to contribute to Offen Fair Web Analytics, but haven’t used Go before don’t be scared. It is easy to pick up and has great learning resources, head over to the Go wiki if you’re interested.
JavaScript
Code is following the Standard JS styleguide which is enforced in CI. Unit tests are being run using mochify.js which means you can access a native and up-to-date DOM API in your tests.