Skip to content

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.

Notifications You must be signed in to change notification settings

hanmd82/gogists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published