golangci: enable goimports

Enable the goimports linter and fix reports.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-03-05 20:03:44 +01:00
parent 60e9e7ca9c
commit 593eb7625a
15 changed files with 15 additions and 11 deletions

View File

@ -3,7 +3,6 @@ package utils
import (
"encoding/json"
"fmt"
"github.com/pkg/errors"
"io"
"net/http"
"net/url"
@ -11,6 +10,7 @@ import (
"strings"
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)