From c51c4c8d3ea3fc830d2f8c8c91cbf92d28b4cba1 Mon Sep 17 00:00:00 2001 From: Josh Medeski Date: Sat, 21 Sep 2024 06:49:14 -0500 Subject: [PATCH] feat: remove cli list label and indentation --- db/storage.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/storage.go b/db/storage.go index c72fccc8..af69376b 100644 --- a/db/storage.go +++ b/db/storage.go @@ -3,10 +3,11 @@ package db import ( "encoding/json" "fmt" - "github.com/samber/lo" "os" "path/filepath" "strings" + + "github.com/samber/lo" ) type Storage struct { @@ -69,9 +70,8 @@ func (o *Storage) ListNames() (err error) { return } - fmt.Printf("\n%v:\n", o.Label) for _, item := range names { - fmt.Printf("\t%s\n", item) + fmt.Printf("%s\n", item) } return }