/go-basic-rest-api

A simple rest api try using golang

Primary LanguageGo

Go Project Starter

1.Download go from the official go site or using package installer

2.The test go version using go version

3.Then create a new project

4.In new project create a file called starter.go

5.write code

6.install additonal dependencing if using using

-- go get github.com/gorilla/mux

  1. execute --- go build gofile.go

You have successfully created go file

  1. execute ./gofile

  2. Test your go program

  3. better way to keep compiled file

go build -o bin/myproject

############## This project is a basic restapi implementation using go **************************