Fix typos in model/icon.go

This commit is contained in:
nett_hier 2021-10-24 03:22:27 +02:00 committed by fguillot
parent b585dab6b4
commit d6ad9a471b
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ func (i *Icon) DataURL() string {
return fmt.Sprintf("%s;base64,%s", i.MimeType, base64.StdEncoding.EncodeToString(i.Content))
}
// Icons represents a list of icon.
// Icons represents a list of icons.
type Icons []*Icon
// FeedIcon is a jonction table between feeds and icons
// FeedIcon is a junction table between feeds and icons.
type FeedIcon struct {
FeedID int64 `json:"feed_id"`
IconID int64 `json:"icon_id"`