methods

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBlog

func GenerateBlog() (*structure.Blog, 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