Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kyawmyintthein/golangRestfulAPISample

Open more actions menu

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.