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 committed 2017-03-23 01:51:08 +03:00
1 parent 53e59d3765
commit 516dd7b044
80 files changed
+201 -123

No files matched your search

+7 -6
View File
@@ -3,12 +3,6 @@ package deb
import (
"bytes"
"fmt"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/database"
"github.com/smira/aptly/http"
"github.com/smira/aptly/utils"
"github.com/smira/go-uuid/uuid"
"github.com/ugorji/go/codec"
"log"
"net/url"
"os"
@@ -20,6 +14,13 @@ import (
"sync"
"syscall"
"time"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/database"
"github.com/smira/aptly/http"
"github.com/smira/aptly/utils"
"github.com/smira/go-uuid/uuid"
"github.com/ugorji/go/codec"
)
// RemoteRepo statuses