https://github.com/gbih/snippetbox
web-app project from "Let's Go!"
https://github.com/gbih/snippetbox
go webapp
Last synced: 20 days ago
JSON representation
web-app project from "Let's Go!"
- Host: GitHub
- URL: https://github.com/gbih/snippetbox
- Owner: gbih
- License: mit
- Created: 2020-07-13T12:20:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T14:39:10.000Z (over 5 years ago)
- Last Synced: 2023-06-28T07:40:26.068Z (about 3 years ago)
- Topics: go, webapp
- Language: Go
- Homepage:
- Size: 7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Variations on Alex Edwards's Snippetbox web-app
# Special areas of focus:
1. Create meaningful constraints (types, scope (application-level vs request-level), etc)
2. Enable meaningful access (global variables, dependency injection, closures, interfaces, request-scoped context)
3. Idiomatic patterns (Router, Middleware Handler, Application Handler)
4. Major interfaces (http.Handler, io, fmt)
References:
Request Handling in Go:
https://www.alexedwards.net/blog/a-recap-of-request-handling
# Specific areas to review
- Templates
- Interfaces
- JSON Marshaling/UnMarshaling
- Routers
- State Management
- Pointers vs Values