Why write 27 lines of Go (not one line) when you can do
python -m http.server
And still it is a silly argument because using npx is still less effort than having to write those 27 lines when zero will do. Sure, you dislike Javascript, do whatever you want. No need for pointless pedantry.