Initial checkin

This commit is contained in:
2022-05-24 18:03:31 +09:30
commit 881c618041
31 changed files with 19870 additions and 0 deletions

20
entity/bookmark.go Normal file
View 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
}