linkwallet/entity/bookmark.go
2022-05-24 18:03:31 +09:30

21 lines
377 B
Go

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
}