Skip to content

Instantly share code, notes, and snippets.

@arbarlow
Created April 30, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arbarlow/f159f0da3c158151210f to your computer and use it in GitHub Desktop.
Save arbarlow/f159f0da3c158151210f to your computer and use it in GitHub Desktop.
run:
goose -env=development up
go run main.go
resetdb:
dropdb riru-dev
createdb riru-dev
goose up
test:
dropdb riru-test --if-exists
createdb riru-test
goose -env=test up
go get -t
go test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment