linkwallet/entity/bookmark.go

22 lines
404 B
Go
Raw Permalink Normal View History

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