Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

spilth/golang-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Go REST API Example

Setup

Go Install

$ brew install golang
$ mkdir ~/go
$ export GOPATH="$HOME/go"
$ export GOBIN="$GOPATH/bin"
$ export PATH="$GOBIN:$PATH"

Project Setup

$ mkdir -p ~/go/src/github.com/spilth/
$ cd ~/go/src/github.com/spilth/
$ git clone git@github.com:spilth/golang-rest-api.git
$ cd golang-rest-api
$ go build
$ ./golang-rest-api

Then visit http://localhost:8000/api/v1/message

About

Dead simple REST API with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages