Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 858 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 858 Bytes

Golang RestfulAPI Sample

Build Status

Contents

SETUP

  • Download and install go, dep ( Go dependency management tool )

  • Install mockery (https://github.com/vektra/mockery)

  • Set GOPATH locally for Go workspace and add in your bash

export GOPATH=/Users/{{name}}/your_folder_path
export PATH=$PATH:$GOPATH/bin
  • Form dir structure according to your project repo
cd $GOPATH
mkdir -p src/github.com/kyawmyintthein
  • Go to created dir and clone the project
cd src/github.com/kyawmyintthein
git clone git@github.com/kyawmyintthein/golangRestfulAPISample.git
  • Go inside the project and create log file
cd golangRestfulAPISample
mkdir -p log/rest_api.log