Switch to gometalinter

Only small amount of required checks is enabled,
plan is to enable more linters as issues are fixed in the code.
This commit is contained in:
Andrey Smirnov
2017-03-23 00:50:49 +03:00
parent 53e59d3765
commit 516dd7b044
80 changed files with 201 additions and 123 deletions

View File

@@ -2,13 +2,14 @@ package swift
import (
"fmt"
. "gopkg.in/check.v1"
"io/ioutil"
"math/rand"
"os"
"path/filepath"
"time"
. "gopkg.in/check.v1"
"github.com/ncw/swift/swifttest"
"github.com/smira/aptly/files"