Skip to content

Commit 9bf173f

Browse files
committed
Format code
1 parent 4e2d4bb commit 9bf173f

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

internal/application/list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const (
1212
listEndpoint = "/application"
1313
)
1414

15-
type listCommand struct {
16-
}
15+
type listCommand struct{}
1716

1817
func (c *listCommand) Execute(args []string) error {
1918
settings.Runner = c

internal/ui/mod.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ func GetPassword(prompt string) string {
3131
// PrintJSON pretty-prints JSON to the term.
3232
func PrintJSON(obj interface{}) {
3333
pretty, err := json.MarshalIndent(obj, "", "\t")
34-
3534
if err != nil {
3635
log.Fatal(err)
3736
}

internal/user/list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const (
1212
listEndpoint = "/user"
1313
)
1414

15-
type listCommand struct {
16-
}
15+
type listCommand struct{}
1716

1817
func (c *listCommand) Execute(args []string) error {
1918
settings.Runner = c

0 commit comments

Comments
 (0)