aboutsummaryrefslogtreecommitdiffstats
path: root/commands/show.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-11 22:04:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-11 22:14:46 +0200
commit3605887345792d2f981f971c6c4a2cb7f86a343e (patch)
treeafd525b6e3a638e4c619a5a986fcb2811c297444 /commands/show.go
parent7b05983c19af4da70f2a9a5062913f4e4f5d5faa (diff)
downloadgit-bug-3605887345792d2f981f971c6c4a2cb7f86a343e.tar.gz
reorganize package for a more idomatic go
Diffstat (limited to 'commands/show.go')
-rw-r--r--commands/show.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/show.go b/commands/show.go
index 71ec1b57..a45eb9b6 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -6,7 +6,7 @@ import (
"strings"
"github.com/MichaelMure/git-bug/cache"
- "github.com/MichaelMure/git-bug/util"
+ "github.com/MichaelMure/git-bug/util/colors"
"github.com/spf13/cobra"
)
@@ -42,13 +42,13 @@ func runShowBug(cmd *cobra.Command, args []string) error {
// Header
fmt.Printf("[%s] %s %s\n\n",
- util.Yellow(snapshot.Status),
- util.Cyan(snapshot.HumanId()),
+ colors.Yellow(snapshot.Status),
+ colors.Cyan(snapshot.HumanId()),
snapshot.Title,
)
fmt.Printf("%s opened this issue %s\n\n",
- util.Magenta(firstComment.Author.Name),
+ colors.Magenta(firstComment.Author.Name),
firstComment.FormatTime(),
)