A web application written in Go, for sharing text snippets or gists.
Using mostly Go's standard library and some third-party packages - without relying on a web framework.
Some topics covered:
- Routing
- Templating
- Working with Postgres. Database model design
- Mocking Dependencies
- Authentication/Authorization
- Using HTTPS
- Go's testing package
go get github.com/hanmd82/gogists
go run ./cmd/web/
go test -v ./...
Homepage
Show Gist
Create Gist