a simple blueprint for a rest service
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
go-rest
vendor
.gitignore
.go-template.yml
Gopkg.lock
Gopkg.toml
README.md
about.go
about_test.go
greeting.go
routes.go
server.go
static.go
template.go

README.md

rest template

A template for writing rest services in Go. Based on a post by Mat Ryer:

https://medium.com/statuscode/how-i-write-go-http-services-after-seven-years-37c208122831 How I write Go HTTP services after seven years

Features

This sample rest client has the following features pre-added:

  • Prometheus metrics export
  • GOPS

History

Version Description
0.1.1 add .go-template.yml
0.1.0 - sample static pages
- wildcard route
- fixed route
- gops https://github.com/google/gops
- prometheus metric at /metrics
- templates route