- Read Go installation steps from hire.
- After Go installed and the environment variables are set, install govendor
go get -u github.com/kardianos/govendor
- Clone the project
git clone https://github.com/malfanmh/go-shop.git
- Restore vendor source , (full documentation hire)
govendor sync
- Setup Environment Variable to config file (./files/etc/go-shop/config.yml) or move file to any directory as you will. for example :
GOSHOP_CONNFIG=/etc/go-ship/config.yml
- Type below command To run application
go build && ./go-shop
or you can direct output binary , for example :
go build -o /usr/local/bin/go-shop
- Postman Collection
- swagger (comming soon)