Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 907 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 907 Bytes

GoGists

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

Usage

go get github.com/hanmd82/gogists
go run ./cmd/web/

Testing

go test -v ./...

Screenshots

Homepage

gogists_home

Show Gist

gogists_showgist

Create Gist

gogists_creategist