Fix typos in model/icon.go
This commit is contained in:
parent
b585dab6b4
commit
d6ad9a471b
1 changed files with 2 additions and 2 deletions
|
@ -22,10 +22,10 @@ func (i *Icon) DataURL() string {
|
||||||
return fmt.Sprintf("%s;base64,%s", i.MimeType, base64.StdEncoding.EncodeToString(i.Content))
|
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
|
type Icons []*Icon
|
||||||
|
|
||||||
// FeedIcon is a jonction table between feeds and icons
|
// FeedIcon is a junction table between feeds and icons.
|
||||||
type FeedIcon struct {
|
type FeedIcon struct {
|
||||||
FeedID int64 `json:"feed_id"`
|
FeedID int64 `json:"feed_id"`
|
||||||
IconID int64 `json:"icon_id"`
|
IconID int64 `json:"icon_id"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue