Documentation
¶
Overview ¶
Package post represents abstraction of business layer blog post object
Index ¶
Constants ¶
View Source
const ( ConstModelNameBlogPost = "BlogPost" ConstErrorModule = "blog" ConstErrorLevel = env.ConstErrorLevelModel )
Package global constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceBlogPost ¶
type InterfaceBlogPost interface {
GetIdentifier() string
SetIdentifier(string) error
IsPublished() bool
SetPublished(bool) error
GetTitle() string
SetTitle(string) error
GetExcerpt() string
SetExcerpt(string) error
GetContent() string
SetContent(string) error
GetTags() []interface{}
SetTags([]interface{}) error
GetFeaturedImage() string
SetFeaturedImage(string) error
GetCreatedAt() time.Time
SetCreatedAt(time.Time) error
GetUpdatedAt() time.Time
SetUpdatedAt(time.Time) error
models.InterfaceModel
models.InterfaceObject
models.InterfaceStorable
}
InterfaceBlogPost represents interface to access business layer implementation of blog post object
func GetBlogPostModel ¶
func GetBlogPostModel() (InterfaceBlogPost, error)
GetBlogPostModel retrieves current InterfaceBlogPost model implementation
Click to show internal directories.
Click to hide internal directories.