mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
first test
This commit is contained in:
@@ -19,21 +19,21 @@ type Bookmark struct {
|
||||
Title string `json:"title" gorm:"not null"`
|
||||
URL string `json:"url" gorm:"not null"`
|
||||
Description string `json:"description"`
|
||||
|
||||
|
||||
// Organization
|
||||
Tags []Tag `json:"tags,omitempty" gorm:"many2many:bookmark_tags;"`
|
||||
|
||||
Tags []Tag `json:"tags,omitempty" gorm:"many2many:bookmark_tags;"`
|
||||
|
||||
// Metadata
|
||||
Favicon string `json:"favicon"`
|
||||
Screenshot string `json:"screenshot"`
|
||||
IsRead bool `json:"is_read" gorm:"default:false"`
|
||||
IsFavorite bool `json:"is_favorite" gorm:"default:false"`
|
||||
|
||||
|
||||
// Content extraction
|
||||
Content string `json:"content"`
|
||||
Author string `json:"author"`
|
||||
Content string `json:"content"`
|
||||
Author string `json:"author"`
|
||||
PublishedAt *time.Time `json:"published_at"`
|
||||
|
||||
|
||||
// Reading tracking
|
||||
ReadAt *time.Time `json:"read_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user