Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-01-17 12:14:05 -07:00
.github/workflows Finished 2024-01-17 12:02:03 -07:00
api Finished 2024-01-17 12:02:03 -07:00
content Finished 2024-01-17 12:02:03 -07:00
lib Finished 2024-01-17 12:02:03 -07:00
pages Fix 2024-01-17 12:04:50 -07:00
public Finished 2024-01-17 12:02:03 -07:00
stylegen Finished 2024-01-17 12:02:03 -07:00
.air.toml Finished 2024-01-17 12:02:03 -07:00
.dockerignore Update 2024-01-17 12:14:05 -07:00
.env.example Finished 2024-01-17 12:02:03 -07:00
.gitattributes Finished 2024-01-17 12:02:03 -07:00
.gitignore Fix 2024-01-17 12:04:50 -07:00
Dockerfile Finished 2024-01-17 12:02:03 -07:00
fly.toml Update 2024-01-17 12:14:05 -07:00
go.mod Finished 2024-01-17 12:02:03 -07:00
go.sum Finished 2024-01-17 12:02:03 -07:00
main.go Finished 2024-01-17 12:02:03 -07:00
README.md Fix 2024-01-17 12:04:50 -07:00

GOTH Stack

Go + Templates + HTMX

Stack:

  • Backend: Golang + Echo
  • Rendering: Golang templates
  • Style: TailwindCSS + DaisyUI
  • Content format: Markdown

Requirements:

  • Bun (only to build styles)
  • Golang 1.21.6 or newer

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 atri.dad/lib With Coverage: go test atri.dad/lib -cover