methods

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Global blog - thread safe and accessible by all requests

Functions

func DeletePost added in v0.1.7

func DeletePost(postId int64) error

func GenerateBlog

func GenerateBlog() error

func GenerateTagsFromCommaString

func GenerateTagsFromCommaString(input string) []structure.Tag

func ProcessHelperArguments added in v0.1.4

func ProcessHelperArguments(arguments []structure.Helper) map[string]string

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 SavePost

func SavePost(p *structure.Post) error

func SaveUser

func SaveUser(u *structure.User, hashedPassword string, createdBy int64) error

func UpdateActiveTheme added in v0.1.6

func UpdateActiveTheme(activeTheme string, userId int64) error

func UpdateBlog

func UpdateBlog(b *structure.Blog, userId int64) error

func UpdatePost

func UpdatePost(p *structure.Post) error

func UpdateUser

func UpdateUser(u *structure.User, updatedById int64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL