Adds article and feed models

This commit is contained in:
Dennis Schoepf 2024-05-14 22:28:34 +02:00
parent 3d24617ede
commit e6cd27855f
2 changed files with 21 additions and 0 deletions

13
internal/model/article.go Normal file
View file

@ -0,0 +1,13 @@
package model
import "time"
// TODO: Tag for article?
type Article struct {
ID int64
Name string
Url string
Read bool
ReadAt time.Time
FeedID *int64
}