https://github.com/petrenslavik/go-web-template
https://github.com/petrenslavik/go-web-template
go golang middleware net-http template webapp
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/petrenslavik/go-web-template
- Owner: petrenslavik
- Created: 2021-04-18T15:33:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2026-05-20T23:55:06.000Z (about 1 month ago)
- Last Synced: 2026-05-21T05:58:32.299Z (about 1 month ago)
- Topics: go, golang, middleware, net-http, template, webapp
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Web Template
A small Go web-app template I started in 2021 to learn the standard
library's web stack idioms — `net/http` + `html/template` + handler-based
routing without a framework.
## Includes
- `handlers/` — sign-in, logout, home, index handlers
- `middlewares/auth.go` — auth middleware
- `services/cache.go` — caching service
- `templates/` — Go HTML templates with a base layout + page views
## Status
A learning template from when I first picked up Go. Sat dormant until
I returned to Go in 2025 for a drone-operations side project.