Documentation ¶
Index ¶
- Variables
- func DeletePost(postId int64) error
- func GenerateBlog() error
- func GenerateTagsFromCommaString(input string) []structure.Tag
- func ProcessHelperArguments(arguments []structure.Helper) map[string]string
- func SavePost(p *structure.Post) error
- func SaveUser(u *structure.User, hashedPassword string, createdBy int64) error
- func UpdateActiveTheme(activeTheme string, userId int64) error
- func UpdateBlog(b *structure.Blog, userId int64) error
- func UpdatePost(p *structure.Post) error
- func UpdateUser(u *structure.User, updatedById int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Blog *structure.Blog
Global blog - thread safe and accessible by all requests
Functions ¶
func DeletePost ¶ added in v0.1.7
func GenerateBlog ¶
func GenerateBlog() error
func ProcessHelperArguments ¶ added in v0.1.4
Function to put all arguments into a neatly organized map (splitting argument.Name with format "name=argument" into map["name"]"argument") for easier lookup and use in helper functions.
func UpdateActiveTheme ¶ added in v0.1.6
func UpdatePost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.