go-template

module
v0.0.0-...-0f10aba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: MIT

README

Go HTML Project Template

Go template project for a HTML go template, HTMX, and tailwind css server.

Requirements

Getting Started

  1. Fork this repo
  2. Change the go package name
  3. Update the git remote origin
  4. Run make run/live to start server

Features

  • Autocompile and browser hot reloading on save
  • zap structured logging
  • Middlewares
    • logging
    • csrf protection
    • secure headers on all requests
    • panic recovery
  • Out of the box nested Go Templates
  • HTMX
  • Tailwind css

Directories

Path Synopsis
cmd
web
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL