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

+2 -1
View File
@@ -2,12 +2,13 @@ package files
import (
"fmt"
"github.com/smira/aptly/aptly"
"io"
"io/ioutil"
"os"
"path/filepath"
"sync"
"github.com/smira/aptly/aptly"
)
// PackagePool is deduplicated storage of package files on filesystem
+2 -1
View File
@@ -2,11 +2,12 @@ package files
import (
"fmt"
"github.com/smira/aptly/aptly"
"io"
"os"
"path/filepath"
"syscall"
"github.com/smira/aptly/aptly"
)
// PublishedStorage abstract file system with public dirs (published repos)