An open API service indexing awesome lists of open source software.

https://github.com/ahmadayubi/gorest-template

Barebones template for building REST API in GOlang. Only uses go-chi and standard library.
https://github.com/ahmadayubi/gorest-template

go golang rest rest-api template template-api

Last synced: about 2 months ago
JSON representation

Barebones template for building REST API in GOlang. Only uses go-chi and standard library.

Awesome Lists containing this project

README

          

# gorest-template ![GoDoc](https://godoc.org/github.com/go-chi/chi/go-badge?status.svg)
Barebones template for building REST API in GOlang. Uses go-chi as router. Tested with latest version of Go 1.15.6.

### Packages Used:
- ### [go-chi](https://github.com/go-chi/chi)
- ### [net, log, encoding from standard library](https://golang.org/pkg/)

### Running
Start server using `go run server.go`, running on localhost:8080, with routes /world/hello