aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/feed/feed.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/feed/feed.go b/internal/feed/feed.go
index 0038335..7b9f0de 100644
--- a/internal/feed/feed.go
+++ b/internal/feed/feed.go
@@ -29,7 +29,9 @@ type feeditem struct {
reasons []string
}
-func (item *feeditem) Creator() string {
+// Creator returns the name of the creating author.
+// MUST NOT have `*feeditem` has the receiver, because the template breaks then.
+func (item feeditem) Creator() string {
if item.Item.Author != nil {
return item.Item.Author.Name
}
Brian Mattern1-9/+12 2012-09-22turn -o filenames back onBrian Mattern1-10/+6 2012-09-22bash completion - Fix UTF8, escape spaces, inverted commas, brackets, and amp...Jeffrey Ratcliffe1-14/+10 2012-09-21Better gpg key completion for `pass init`Brian Mattern1-2/+15 2012-09-21Append to COMPREPLY instead of inserting by indexBrian Mattern1-3/+1