diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-11 22:04:16 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-11 22:14:46 +0200 |
commit | 3605887345792d2f981f971c6c4a2cb7f86a343e (patch) | |
tree | afd525b6e3a638e4c619a5a986fcb2811c297444 /commands/ls.go | |
parent | 7b05983c19af4da70f2a9a5062913f4e4f5d5faa (diff) | |
download | git-bug-3605887345792d2f981f971c6c4a2cb7f86a343e.tar.gz |
reorganize package for a more idomatic go
Diffstat (limited to 'commands/ls.go')
-rw-r--r-- | commands/ls.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/ls.go b/commands/ls.go index 4ff4b315..7bab429d 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -5,7 +5,7 @@ import ( "github.com/MichaelMure/git-bug/bug" "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/util" + "github.com/MichaelMure/git-bug/util/colors" "github.com/spf13/cobra" ) @@ -61,10 +61,10 @@ func runLsBug(cmd *cobra.Command, args []string) error { authorFmt := fmt.Sprintf("%-15.15s", author.Name) fmt.Printf("%s %s\t%s\t%s\t%s\n", - util.Cyan(b.HumanId()), - util.Yellow(snapshot.Status), + colors.Cyan(b.HumanId()), + colors.Yellow(snapshot.Status), titleFmt, - util.Magenta(authorFmt), + colors.Magenta(authorFmt), snapshot.Summary(), ) } |