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

@ -2,12 +2,13 @@ package specgen
import (
"context"
"os"
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/config"
"github.com/containers/libpod/libpod/define"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"os"
)
// MakeContainer creates a container based on the SpecGenerator