Versions in this module Expand all Collapse all v0 v0.7.6 Jun 15, 2024 Changes in this version + const BookmarkField_CmdStr + const BookmarkField_Desc + func AddBookmarksUpdate(update *scbus.ModelUpdatePacketType, bookmarks []*BookmarkType, ...) + func DeleteBookmark(ctx context.Context, bookmarkId string) error + func EditBookmark(ctx context.Context, bookmarkId string, editMap map[string]interface{}) error + func GetBookmarkIdByArg(ctx context.Context, bookmarkArg string) (string, error) + func GetBookmarkIdsByCmdStr(ctx context.Context, cmdStr string) ([]string, error) + func InsertBookmark(ctx context.Context, bm *BookmarkType) error + type BookmarkType struct + Alias string + BookmarkId string + CmdStr string + CreatedTs int64 + Description string + OrderIdx int64 + Remove bool + Tags []string + func GetBookmarkById(ctx context.Context, bookmarkId string, tag string) (*BookmarkType, error) + func GetBookmarks(ctx context.Context, tag string) ([]*BookmarkType, error) + func (bm *BookmarkType) FromMap(m map[string]interface{}) bool + func (bm *BookmarkType) GetSimpleKey() string + func (bm *BookmarkType) ToMap() map[string]interface{} + type BookmarksUpdate struct + Bookmarks []*BookmarkType + SelectedBookmark string + func (BookmarksUpdate) GetType() string