https://github.com/chase-allen-tech/go-siman-proj
REST API development
https://github.com/chase-allen-tech/go-siman-proj
Last synced: about 1 month ago
JSON representation
REST API development
- Host: GitHub
- URL: https://github.com/chase-allen-tech/go-siman-proj
- Owner: chase-allen-tech
- Created: 2022-10-23T21:04:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-23T21:15:04.000Z (over 2 years ago)
- Last Synced: 2025-02-16T07:41:20.144Z (3 months ago)
- Language: Go
- Size: 14.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang RestfulAPI Sample

## Contents
- [SETUP](#markdown-header-setup)
- [GIT PRE HOOK SETUP](#markdown-header-git-pre-hook-setup)## 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
```sh
export GOPATH=/Users/{{name}}/your_folder_path
export PATH=$PATH:$GOPATH/bin
```* Form dir structure according to your project repo
```sh
cd $GOPATH
mkdir -p src/github.com/kyawmyintthein
```* Go to created dir and clone the project
```sh
cd src/github.com/kyawmyintthein
git clone [email protected]/kyawmyintthein/golangRestfulAPISample.git
```* Go inside the project and create log file
```sh
cd golangRestfulAPISample
mkdir -p log/rest_api.log
```