Initial checkin
This commit is contained in:
20
entity/bookmark.go
Normal file
20
entity/bookmark.go
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user