The server can be compiled into an executable and ran locally:
# Compile into an executable
go build -o server
./server
An easy way to develop and run. Install from here.
Set up flakes with:
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
# Get a development shell
nix develop
# Build the program
nix build
# Run the program
nix run