From 5c02f5a0327e5f8a64e97fbf567f85a446f2f6ac Mon Sep 17 00:00:00 2001 From: Simon Baeumer Date: Thu, 29 Apr 2021 11:23:19 +0200 Subject: [PATCH] Fix golint --- cmd/example.go | 3 +-- cmd/example_test.go | 2 +- cmd/root_test.go | 2 +- cmd/version_test.go | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/example.go b/cmd/example.go index 2592b85..112dc23 100644 --- a/cmd/example.go +++ b/cmd/example.go @@ -3,10 +3,9 @@ package cmd import ( "fmt" - "github.com/spf13/cobra" - "github.com/FalcoSuessgott/golang-cli-template/internal/convert" "github.com/FalcoSuessgott/golang-cli-template/pkg/example" + "github.com/spf13/cobra" ) const ( diff --git a/cmd/example_test.go b/cmd/example_test.go index ba32461..15acb0c 100644 --- a/cmd/example_test.go +++ b/cmd/example_test.go @@ -2,11 +2,11 @@ package cmd import ( "bytes" - "github.com/stretchr/testify/require" "io/ioutil" "testing" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) func TestExampleCommandMultiply(t *testing.T) { diff --git a/cmd/root_test.go b/cmd/root_test.go index 0ad47e6..f0ceaf3 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -2,11 +2,11 @@ package cmd import ( "bytes" - "github.com/stretchr/testify/require" "io/ioutil" "testing" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) func TestRootCommandOutput(t *testing.T) { diff --git a/cmd/version_test.go b/cmd/version_test.go index c34bf57..c9a42ab 100644 --- a/cmd/version_test.go +++ b/cmd/version_test.go @@ -2,11 +2,11 @@ package cmd import ( "bytes" - "github.com/stretchr/testify/require" "io/ioutil" "testing" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) func TestVersionCommand(t *testing.T) {