fix a go vet warning

This commit is contained in:
Ted Unangst 2019-10-06 15:24:28 -04:00
parent a0b6756206
commit 0ee127af0d
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -188,7 +188,7 @@ func showrss(w http.ResponseWriter, r *http.Request) {
feed.Items = append(feed.Items, &rss.Item{ feed.Items = append(feed.Items, &rss.Item{
Title: fmt.Sprintf("%s %s %s", honk.Username, honk.What, honk.XID), Title: fmt.Sprintf("%s %s %s", honk.Username, honk.What, honk.XID),
Description: rss.CData{desc}, Description: rss.CData{Data: desc},
Link: honk.URL, Link: honk.URL,
PubDate: honk.Date.Format(time.RFC1123), PubDate: honk.Date.Format(time.RFC1123),
Guid: &rss.Guid{IsPermaLink: true, Value: honk.URL}, Guid: &rss.Guid{IsPermaLink: true, Value: honk.URL},