Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadString ¶
Types ¶
type Blog ¶
type Blog struct {
// contains filtered or unexported fields
}
func (*Blog) CreateNewPost ¶
func (*Blog) DeletePostByID ¶
func (*Blog) GetAllPosts ¶
type EmptyResult ¶
type EmptyResult struct {
}
func (*EmptyResult) LastInsertId ¶
func (er *EmptyResult) LastInsertId() (int64, error)
func (*EmptyResult) RowsAffected ¶
func (er *EmptyResult) RowsAffected() (int64, error)
type Post ¶
type Post struct {
ID string `json:"ID"`
Filepath string `json:"filepath"`
Author string `yaml:"Author" json:"Author"`
Title string `yaml:"Title" json:"Title"`
}
func LoadFromMarkdown ¶
func LoadFromMarkdownFile ¶
func (*Post) RenderHTML ¶
Click to show internal directories.
Click to hide internal directories.