Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-04-01 12:11:38 -06:00
api Added post copy button + hyperscript 2024-02-12 09:12:21 -07:00
content Go Embed! 2024-02-08 19:30:22 -07:00
lib Update dependencies in go.mod and go.sum files 2024-03-05 00:10:39 -06:00
pages Updated RSS SVG 2024-02-12 16:57:03 -07:00
public Optimized CSS Gen 2024-02-12 14:42:16 -07:00
.air.toml Cleaned up dirs 2024-03-03 01:11:53 -07:00
.dockerignore Optimized CSS Gen 2024-02-12 14:42:16 -07:00
.env.example Finished 2024-01-17 12:02:03 -07:00
.gitattributes Finished 2024-01-17 12:02:03 -07:00
.gitignore Optimized CSS Gen 2024-02-12 14:42:16 -07:00
Dockerfile Update Go version to 1.22.0 in Dockerfile and go.mod 2024-02-09 11:52:06 -07:00
fly.toml Update 2024-01-17 12:14:05 -07:00
go.mod Remove actions 2024-04-01 12:11:38 -06:00
go.sum Remove actions 2024-04-01 12:11:38 -06:00
main.go Cleaned up dirs 2024-03-03 01:11:53 -07:00
README.md Update README 2024-02-09 18:13:13 -07:00

goth

GOTH Stack

Go + Templates + HTMX

Stack:

  • Backend: Golang + Echo
  • Rendering: Golang templates
  • Style: TailwindCSS + DaisyUI (No JS Needed)
  • Content format: Markdown

Requirements:

  • Golang 1.22.0

Instructions:

  1. Run go get
  2. Duplicate the .env.example file and call it .env
  3. Fill out the .env values
  4. Run go install github.com/cosmtrek/air@latest to download Air for live reload
  5. Run air to start the dev server

Tests

Without Coverage: go test goth.stack/lib With Coverage: go test goth.stack/lib -cover