Versions in this module Expand all Collapse all v1 v1.1.0 Jan 28, 2021 v1.0.0 Aug 6, 2020 Changes in this version + type Cache struct + Data interface{} + Status int + type DeleteData struct + ID uint64 + Password string + func (data *DeleteData) Validate() error + type Post struct + Closed bool + Content string + CreatedAt *time.Time + ID uint64 + ParentThread *uint64 + Password string + Pic *string + ReplyTo *uint64 + Sage bool + Sticky bool + UpdatedAt *time.Time + func (post *Post) AllowsReplies() bool + func (post *Post) BeforeCreate(scope *gorm.Scope) error + func (post *Post) IsAParentThread() bool + func (post *Post) MakeRelationWith(reply *Post) + func (post *Post) RepliesToAnotherPost() bool + func (post *Post) Sages() bool + func (post *Post) TableName() string + func (post *Post) Validate() error + type UpdateData struct + Closed bool + ID uint64 + Password string + Sticky bool + func (data *UpdateData) Validate() error