Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-04-08 23:50:49 -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 Moved to REDIS_URL 2024-04-08 23:50:49 -06:00
pages Re-work homepage 2024-04-03 11:13:29 -06:00
public img 2024-04-04 00:04:36 -06:00
.air.toml Cleaned up dirs 2024-03-03 01:11:53 -07:00
.env.example Moved to REDIS_URL 2024-04-08 23:50:49 -06:00
.gitattributes Finished 2024-01-17 12:02:03 -07:00
.gitignore Optimized CSS Gen 2024-02-12 14:42:16 -07:00
go.mod Moved to REDIS_URL 2024-04-08 23:50:49 -06:00
go.sum Moved to REDIS_URL 2024-04-08 23:50:49 -06:00
main.go Cleaned up dirs 2024-03-03 01:11:53 -07:00
README.md oop 2024-04-04 00:03:46 -06:00

goth

GOTH Stack

Go + Templates + HTMX

Deploy on Railway

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