Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-02-12 13:00:02 -07:00
.github/workflows Remove unnecessary entries from .dockerignore and update paths-ignore in fly.yml 2024-01-28 17:59:37 -07: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 Go Embed! 2024-02-08 19:30:22 -07:00
pages Update code highlighting style to "fruity" 2024-02-12 13:00:02 -07:00
public Added post copy button + hyperscript 2024-02-12 09:12:21 -07:00
stylegen Deleted unused file 2024-01-28 17:53:46 -07:00
.air.toml Updates from my site 2024-02-06 11:03:53 -07:00
.dockerignore Update .dockerignore to exclude stylegen directory 2024-01-28 18:02:33 -07:00
.env.example Finished 2024-01-17 12:02:03 -07:00
.gitattributes Finished 2024-01-17 12:02:03 -07:00
.gitignore Add stylegen to .dockerignore and remove unnecessary entry from .gitignore 2024-01-28 17:56:29 -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 IDK why this was a problem earlier??? 2024-02-12 09:13:22 -07:00
go.sum Add RSS feed endpoint 2024-02-07 23:45:14 -07:00
main.go Added post copy button + hyperscript 2024-02-12 09:12:21 -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