wiki

package
v0.0.0-...-cbaa3f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WikiDelta

type WikiDelta struct {
	Id          int64
	ItemId      int64
	PrevDelta   int64
	Description string

	Delta   []byte
	Owner   int64
	Created int64
}

func History

func History(db *gorp.DbMap, id int64) []WikiDelta

type WikiPage

type WikiPage struct {
	Id          int64
	Title       string
	Slug        string
	Description string
	Body        []byte

	PrevDelta int64
	Owner     int64
	Created   int64
	Deleted   int64
	Updated   int64
	Version   int64
}

func Edit

func Edit(db *gorp.DbMap, w WikiPage) (WikiPage, bool)

func GetBySlug

func GetBySlug(db *gorp.DbMap, slug string) (WikiPage, bool)

Jump to

Keyboard shortcuts

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