bw2012 / golang-rest-srv-template

Golang REST example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang REST server template

Simple example without external library.

Usage

  1. install golang https://golang.org/doc/install
  2. clone this repository to $GOPATH (git clone https://github.com/bw2012/golang-rest-srv-template.git)
  3. execute: go build main.go
  4. ./main
  5. use url http://localhost:8080/restapi/ to test

About

Golang REST example

License:MIT License


Languages

Language:Go 100.0%