diff options
author | Alan Pearce | 2024-05-22 18:03:22 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-22 18:03:22 +0200 |
commit | ea098ab11740fe4783694ff0122738b30e0c342f (patch) | |
tree | bcd50fdb6fc7ce9730c758f709aa6bf29a763ea9 /internal/atom/atom.go | |
parent | aef028263229d8acda28b8e657413f7e9c187833 (diff) | |
download | website-ea098ab11740fe4783694ff0122738b30e0c342f.tar.lz website-ea098ab11740fe4783694ff0122738b30e0c342f.tar.zst website-ea098ab11740fe4783694ff0122738b30e0c342f.zip |
refactor: lint with golangci-lint
Diffstat (limited to 'internal/atom/atom.go')
-rw-r--r-- | internal/atom/atom.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/atom/atom.go b/internal/atom/atom.go index f2ca4a9..37c53d9 100644 --- a/internal/atom/atom.go +++ b/internal/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"` |