Versions in this module Expand all Collapse all v0 v0.8.1 Sep 6, 2022 v0.8.0 Sep 6, 2022 v0.7.0 Sep 4, 2022 v0.6.0 Sep 3, 2022 Changes in this version type BookmarkType + BookmarkType string v0.5.0 Jun 14, 2022 v0.4.0 Jun 13, 2022 Changes in this version + var BookmarkColumns = struct{ ... } + var BookmarkContextColumns = struct{ ... } + var BookmarkContextRels = struct{} + var BookmarkContextTableColumns = struct{ ... } + var BookmarkContextWhere = struct{ ... } + var BookmarkRels = struct{} + var BookmarkTableColumns = struct{ ... } + var BookmarkTypeColumns = struct{ ... } + var BookmarkTypeRels = struct{} + var BookmarkTypeTableColumns = struct{ ... } + var BookmarkTypeWhere = struct{ ... } + var BookmarkWhere = struct{ ... } + var DocumentColumns = struct{ ... } + var DocumentContextColumns = struct{ ... } + var DocumentContextRels = struct{} + var DocumentContextTableColumns = struct{ ... } + var DocumentContextWhere = struct{ ... } + var DocumentRels = struct{} + var DocumentTableColumns = struct{ ... } + var DocumentTypeColumns = struct{ ... } + var DocumentTypeRels = struct{} + var DocumentTypeTableColumns = struct{ ... } + var DocumentTypeWhere = struct{ ... } + var DocumentWhere = struct{ ... } + var ErrSyncFail = errors.New("repository: failed to synchronize data after insert") + var LinkColumns = struct{ ... } + var LinkRels = struct{} + var LinkTableColumns = struct{ ... } + var LinkWhere = struct{ ... } + var TableNames = struct{ ... } + var TagColumns = struct{ ... } + var TagRels = struct{} + var TagTableColumns = struct{ ... } + var TagWhere = struct{ ... } + var ViewNames = struct{} + func AddBookmarkContextHook(hookPoint boil.HookPoint, bookmarkContextHook BookmarkContextHook) + func AddBookmarkHook(hookPoint boil.HookPoint, bookmarkHook BookmarkHook) + func AddBookmarkTypeHook(hookPoint boil.HookPoint, bookmarkTypeHook BookmarkTypeHook) + func AddDocumentContextHook(hookPoint boil.HookPoint, documentContextHook DocumentContextHook) + func AddDocumentHook(hookPoint boil.HookPoint, documentHook DocumentHook) + func AddDocumentTypeHook(hookPoint boil.HookPoint, documentTypeHook DocumentTypeHook) + func AddLinkHook(hookPoint boil.HookPoint, linkHook LinkHook) + func AddTagHook(hookPoint boil.HookPoint, tagHook TagHook) + func BookmarkContextExists(ctx context.Context, exec boil.ContextExecutor, tagID int64, bookmarkID int64) (bool, error) + func BookmarkContexts(mods ...qm.QueryMod) bookmarkContextQuery + func BookmarkExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func BookmarkTypeExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func BookmarkTypes(mods ...qm.QueryMod) bookmarkTypeQuery + func Bookmarks(mods ...qm.QueryMod) bookmarkQuery + func DocumentContextExists(ctx context.Context, exec boil.ContextExecutor, tagID int64, documentID int64) (bool, error) + func DocumentContexts(mods ...qm.QueryMod) documentContextQuery + func DocumentExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func DocumentTypeExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func DocumentTypes(mods ...qm.QueryMod) documentTypeQuery + func Documents(mods ...qm.QueryMod) documentQuery + func LinkExists(ctx context.Context, exec boil.ContextExecutor, sourceID int64, ...) (bool, error) + func Links(mods ...qm.QueryMod) linkQuery + func NewQuery(mods ...qm.QueryMod) *queries.Query + func TagExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error) + func Tags(mods ...qm.QueryMod) tagQuery + type Bookmark struct + BookmarkTypeID null.Int64 + CreatedAt time.Time + DeletedAt null.Time + ID int64 + IsCollection int64 + IsRead int64 + L bookmarkL + R *bookmarkR + Title null.String + URL string + UpdatedAt time.Time + func FindBookmark(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Bookmark, error) + func (o *Bookmark) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Bookmark) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Bookmark) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Bookmark) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Bookmark) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type BookmarkContext struct + BookmarkID int64 + L bookmarkContextL + R *bookmarkContextR + TagID int64 + func FindBookmarkContext(ctx context.Context, exec boil.ContextExecutor, tagID int64, bookmarkID int64, ...) (*BookmarkContext, error) + func (o *BookmarkContext) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *BookmarkContext) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *BookmarkContext) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *BookmarkContext) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *BookmarkContext) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type BookmarkContextHook func(context.Context, boil.ContextExecutor, *BookmarkContext) error + type BookmarkContextSlice []*BookmarkContext + func (o *BookmarkContextSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o BookmarkContextSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o BookmarkContextSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type BookmarkHook func(context.Context, boil.ContextExecutor, *Bookmark) error + type BookmarkSlice []*Bookmark + func (o *BookmarkSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o BookmarkSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o BookmarkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type BookmarkType struct + ID int64 + L bookmarkTypeL + R *bookmarkTypeR + Type string + func FindBookmarkType(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*BookmarkType, error) + func (o *BookmarkType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *BookmarkType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *BookmarkType) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *BookmarkType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *BookmarkType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type BookmarkTypeHook func(context.Context, boil.ContextExecutor, *BookmarkType) error + type BookmarkTypeSlice []*BookmarkType + func (o *BookmarkTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o BookmarkTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o BookmarkTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type Document struct + CreatedAt time.Time + DeletedAt null.Time + DocumentTypeID null.Int64 + ID int64 + L documentL + Path string + R *documentR + UpdatedAt time.Time + func FindDocument(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Document, error) + func (o *Document) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Document) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Document) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Document) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Document) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type DocumentContext struct + DocumentID int64 + L documentContextL + R *documentContextR + TagID int64 + func FindDocumentContext(ctx context.Context, exec boil.ContextExecutor, tagID int64, documentID int64, ...) (*DocumentContext, error) + func (o *DocumentContext) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *DocumentContext) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *DocumentContext) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *DocumentContext) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *DocumentContext) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type DocumentContextHook func(context.Context, boil.ContextExecutor, *DocumentContext) error + type DocumentContextSlice []*DocumentContext + func (o *DocumentContextSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o DocumentContextSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o DocumentContextSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type DocumentHook func(context.Context, boil.ContextExecutor, *Document) error + type DocumentSlice []*Document + func (o *DocumentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o DocumentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o DocumentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type DocumentType struct + DocumentType string + ID int64 + L documentTypeL + R *documentTypeR + func FindDocumentType(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*DocumentType, error) + func (o *DocumentType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *DocumentType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *DocumentType) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *DocumentType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *DocumentType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type DocumentTypeHook func(context.Context, boil.ContextExecutor, *DocumentType) error + type DocumentTypeSlice []*DocumentType + func (o *DocumentTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o DocumentTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o DocumentTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type Link struct + DestinationID int64 + L linkL + R *linkR + SourceID int64 + func FindLink(ctx context.Context, exec boil.ContextExecutor, sourceID int64, ...) (*Link, error) + func (o *Link) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Link) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Link) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Link) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Link) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type LinkHook func(context.Context, boil.ContextExecutor, *Link) error + type LinkSlice []*Link + func (o *LinkSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o LinkSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o LinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) + type M map[string]interface + type Tag struct + Children string + ID int64 + L tagL + ParentTag null.Int64 + Path string + R *tagR + Tag string + func FindTag(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Tag, error) + func (o *Tag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o *Tag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error + func (o *Tag) Reload(ctx context.Context, exec boil.ContextExecutor) error + func (o *Tag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error) + func (o *Tag) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error + type TagHook func(context.Context, boil.ContextExecutor, *Tag) error + type TagSlice []*Tag + func (o *TagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error + func (o TagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error) + func (o TagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)