Add gometalinter (#36)

This commit is contained in:
Adrian Macneil 2018-04-15 19:59:56 -07:00 committed by GitHub
parent cacf5de3ec
commit ee3162c34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 15 deletions

View file

@ -11,9 +11,7 @@ import (
)
func testContext(t *testing.T, u *url.URL) *cli.Context {
var err error
err = os.Setenv("DATABASE_URL", u.String())
err := os.Setenv("DATABASE_URL", u.String())
require.Nil(t, err)
app := NewApp()