summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit.go
diff options
context:
space:
mode:
authorBlakeMScurr <blakemscurr@gmail.com>2018-11-30 11:04:08 +1300
committerBlakeMScurr <blakemscurr@gmail.com>2018-11-30 11:04:08 +1300
commit643cdd3461007fafb1fd9284a65b54f36e55ddac (patch)
tree0266b3c0e5184e0da054d4310a7b301e208d056c /pkg/commands/commit.go
parent5c70d2724b508c3021558162fbfd9792c2d77e63 (diff)
Add simple comments to uncommented functions.
Diffstat (limited to 'pkg/commands/commit.go')
-rw-r--r--pkg/commands/commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/commands/commit.go b/pkg/commands/commit.go
index 54e94ef60..908677a18 100644
--- a/pkg/commands/commit.go
+++ b/pkg/commands/commit.go
@@ -13,6 +13,7 @@ type Commit struct {
DisplayString string
}
+// GetDisplayStrings is a function
func (c *Commit) GetDisplayStrings() []string {
red := color.New(color.FgRed)
yellow := color.New(color.FgGreen)