A simple website built with Go programming language and its template engine. This project is taken out from Let's Go by Alex Edwards.
- View Snippet
- Create Snippet
- Register Account
- Login
- Reset Password
- TLS Support
The project is structured as follows:
-
cmd/web
-> contains the core application related logic. All routes, middlewares, helper functions, handlers and template parsing functionality resides here -
internal/
-> this module contains all the necessary functions to support validation logic, test setup and data models for the applications. -
ui/
-> contains static assets, templates to be rendered on the website.