linkwallet/entity/bookmark.go

21 lines
377 B
Go
Raw Normal View History

2022-05-24 18:03:31 +09:30
package entity
import "time"
type Bookmark struct {
ID uint64 `badgerhold:"key"`
URL string
Info PageInfo
Tags []string
TimestampCreated time.Time
TimestampLastScraped time.Time
}
type PageInfo struct {
Fetched time.Time
Title string
Size int
StatusCode int
RawText string
}