carlessistare / go-temp-project

Intended for coming up with best practices in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

PATH=$PATH:$GOPATH/bin
  • Install Godep and download dependencies
go get github.com/tools/godep
godep restore

Before commit on github

If you add new packages you have to update the Godeps.json by doing this:

godep save ./...

Info: It's important to put "./..." after the "save" to include test dependencies. (The parameter "-t" exist in Godep to include test files but it does not work)

Launch tests

go test ./test/... 

About

Intended for coming up with best practices in Golang


Languages

Language:Go 100.0%