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.
- Host: GitHub
- URL: https://github.com/ahmadayubi/gorest-template
- Owner: ahmadayubi
- License: mit
- Created: 2020-12-25T01:46:42.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-25T02:19:23.000Z (over 5 years ago)
- Last Synced: 2024-06-21T02:03:52.918Z (about 2 years ago)
- Topics: go, golang, rest, rest-api, template, template-api
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gorest-template 
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