SchildCafé: Servitør

This is a Go implementation of the Servitør app used in the SchildCafé,
built with Gin Gonic and GORM.
Installation
Consider using Air.
go mod tidy
or
make prep
Compile
swag init
go run .
make run
Options
To specify a port other then the default, set the environment variable
export SERVITOR_PORT="1333"
To log log in Gelf format, use the following environment setting
export GELF_LOGGING="true"
In order to turn off debug mode, use
export GIN_MODE="release"
To send traces to an OTEL endpoint, specify its address
export OTEL_TRACES_ENDPOINT="localhost:4318"
Execution
Make sure to provide the MySQL credentials as environment variables.
make run