My personal blog website powered by GO.
Besides the obvious prerequisite of having Go! on your machine, you must have Air installed for hot reloading when editing code.
Start the app in development mode:
$ air # Ctrl + C to stop the application
Build:
$ go build -o ./bin/main ./cmd/server/main.go # ./bin/main to run the application.
Dev:
$ templ generate --watch --proxy="http://localhost:8080" --cmd "air"
© 2024 APACHE-2.0