The Goat stack is a tech stack that uses the following technologies:
- Templ to render html templates
- Htmx to make html interactive
- Echo to handle http requests
- Go as the backend language
- Air for live reloading
- Tailwind for styling
Install the Goat CLI:
go install github.com/norbusonam/the-goat-stack/cmd/goat@latest
Create a Goat project:
goat new
If the goat
command doesn't work, try adding
export PATH=$PATH:$(go env GOPATH)/bin
to your .bashrc
or .zshrc
file.
Heavily inspired by templ's documentation ❤️
graph TD;
main.go-->pkg/handlers;
pkg/handlers-->pkg/services;
pkg/handlers-->pkg/templates;
pkg/services-->pkg/db;