summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAnthony HAMON <antham@users.noreply.github.com>2018-08-29 13:31:27 +0200
committerantham <hamonanth@gmail.com>2018-08-29 13:46:51 +0200
commite889a40caf3a3b3b8ac3e7bc029310249a923d34 (patch)
tree3912d0a89dcd4b1795302a38e830a635a74f23f8 /pkg
parent3f26ddc06f445ecaf1dad74737e294394b473e9e (diff)
fix golint issue
Diffstat (limited to 'pkg')
-rw-r--r--pkg/utils/utils.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go
index 62706559e..0b6ffeddd 100644
--- a/pkg/utils/utils.go
+++ b/pkg/utils/utils.go
@@ -83,6 +83,7 @@ func GetProjectRoot() string {
return strings.Split(dir, "lazygit")[0] + "lazygit"
}
+// Loader dumps a string to be displayed as a loader
func Loader() string {
characters := "|/-\\"
now := time.Now()