Skip to content

Commit d58b167

Browse files
chore: run gofmt on several files (#26)
1 parent d094dff commit d58b167

5 files changed

Lines changed: 3 additions & 5 deletions

File tree

cmd/encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"os"
66
"strings"
77

8-
"github.com/spf13/cobra"
98
"github.com/aryansharma9917/codewise-cli/pkg/encoder"
109
"github.com/aryansharma9917/codewise-cli/pkg/prompt"
10+
"github.com/spf13/cobra"
1111
)
1212

1313
var (

cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cmd
22

33
import (
4-
"github.com/spf13/cobra"
54
"github.com/aryansharma9917/codewise-cli/pkg/generator"
5+
"github.com/spf13/cobra"
66
)
77

88
var (

cmd/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cmd
22

33
import (
4-
"github.com/spf13/cobra"
54
"github.com/aryansharma9917/codewise-cli/pkg/generator"
5+
"github.com/spf13/cobra"
66
)
77

88
var (

pkg/encoder/base64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ func Base64Decode(inputFile, outputFile string) error {
3333
// echo "hello codewise" > input.txt
3434
// go run main.go encode --base64 --input=input.txt --output=encoded.txt
3535

36-
3736
// go run main.go encode --base64 --decode --input=encoded.txt --output=output.txt
3837
// cat output.txt # => hello codewise

pkg/encoder/yaml_to_json.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ func YAMLToJSON(inputFile, outputFile string) error {
3131
return nil
3232
}
3333

34-
3534
// Example usage:
3635
// apiVersion: v1
3736
// kind: Pod

0 commit comments

Comments
 (0)