Skip to content

Commit 4ca0216

Browse files
authored
Merge pull request #6 from tnozicka/fix-formatting
Fix formatting
2 parents a3cec23 + e253f49 commit 4ca0216

File tree

8 files changed

+10
-6
lines changed

8 files changed

+10
-6
lines changed

pkg/cmd/completion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package cmd
33
import (
44
"io"
55

6+
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
67
"github.com/spf13/cobra"
78
"github.com/spf13/viper"
8-
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
99
)
1010

1111
var (

pkg/cmd/convert.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
"strings"
88

99
"github.com/ghodss/yaml"
10-
"github.com/spf13/cobra"
11-
"github.com/spf13/viper"
1210
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
1311
"github.com/redhat-developer/opencompose/pkg/encoding"
1412
"github.com/redhat-developer/opencompose/pkg/object"
1513
"github.com/redhat-developer/opencompose/pkg/transform"
1614
"github.com/redhat-developer/opencompose/pkg/transform/kubernetes"
1715
"github.com/redhat-developer/opencompose/pkg/transform/openshift"
16+
"github.com/spf13/cobra"
17+
"github.com/spf13/viper"
1818
//"k8s.io/client-go/pkg/api"
1919
//"k8s.io/client-go/pkg/runtime/schema"
2020
)

pkg/cmd/util/helpers.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package util
22

33
import (
44
"fmt"
5+
56
"github.com/spf13/cobra"
67
flag "github.com/spf13/pflag"
78
"github.com/spf13/viper"

pkg/cmd/validate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package cmd
33
import (
44
"io"
55

6+
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
67
"github.com/spf13/cobra"
78
"github.com/spf13/viper"
8-
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
99
)
1010

1111
var (

pkg/cmd/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"io"
66

7+
"github.com/redhat-developer/opencompose/pkg/version"
78
"github.com/spf13/cobra"
89
"github.com/spf13/viper"
9-
"github.com/redhat-developer/opencompose/pkg/version"
1010
)
1111

1212
var (

pkg/encoding/decoder.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package encoding
22

33
import (
44
"errors"
5+
56
"github.com/redhat-developer/opencompose/pkg/encoding/v1"
67
"github.com/redhat-developer/opencompose/pkg/object"
78
)

pkg/encoding/v1/encoding_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package v1
22

33
import (
4-
"github.com/redhat-developer/opencompose/pkg/object"
54
"reflect"
65
"testing"
6+
7+
"github.com/redhat-developer/opencompose/pkg/object"
78
)
89

910
func TestPortUnmarshal(t *testing.T) {

pkg/encoding/version.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package encoding
22

33
import (
44
"fmt"
5+
56
"github.com/ghodss/yaml"
67
)
78

0 commit comments

Comments
 (0)