Public | Automated Build

Last pushed: 10 months ago
Short Description
Go API for piflab store
Full Description

PIFLab Store API


API Docs

http://docs.piflabstore.apiary.io/

Dependencies

  • GO 1.5

3rd parties

Framework

Build Docker image

docker build -t piflab-store-api-go .

Run a command inside container

docker run -v `pwd`:/go/src/github.com/o0khoiclub0o/piflab-store-api-go piflab-store-api-go <command you want to run>

Add package

  • docker run -it -v `pwd`:/go/src/github.com/o0khoiclub0o/piflab-store-api-go piflab-store-api-go bash
  • go get <package>
  • import "<package>"
  • godep save ./...

Testing

./testcoverage.sh

Migration

Migrate

goose up

Rollback

goose down

Seed

go run db/seeds/main.go

PIFLab store API services structure

Docker Pull Command
Owner
zealotnt
Source Repository