all repos — homestead @ 8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

Code for my website

refactor: lint with golangci-lint

Alan Pearce
commit

8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

parent

728423eaeb39d3db2fdab31f65a3dc503542762d

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M internal/atom/atom.gointernal/atom/atom.go
@@ -4,10 +4,10 @@ import (
"encoding/xml" "time" - . "website/internal/config" + "website/internal/config" ) -func MakeTagURI(config Config, specific string) string { +func MakeTagURI(config config.Config, specific string) string { return "tag:" + config.OriginalDomain + "," + config.DomainStartDate + ":" + specific }
@@ -35,7 +35,7 @@ type FeedEntry struct {
XMLName xml.Name `xml:"entry"` Title string `xml:"title"` Link Link `xml:"link"` - Id string `xml:"id"` + ID string `xml:"id"` Updated time.Time `xml:"updated"` Summary string `xml:"summary,omitempty"` Content FeedContent `xml:"content"`