Versions in this module Expand all Collapse all v3 v3.0.1 Feb 23, 2023 Changes in this version + const DBPostsSchema + var DB = db.DB + var ErrAlreadyExists = errors.New("already exists") + var ErrDoesNotExist = errors.New("does not exist") + type Post struct + Author string + Content string + JsonData types.JsonMap + Link string + PostDescription string + PostID int64 + Published time.Time + ShortID string + Tags string + Title string + Updated time.Time + func GetPostsByFeedId(feedId int64) ([]*Post, error) + func ListPosts() ([]Post, error) + func (post *Post) Write(feedId int64) error + func (post *Post) WriteWithShortId(feedId int64, shortId interface{}) error