changelog

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(db *gorp.DbMap, c ChangeLog) error

Types

type ChangeLog

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

	Rate rate.Rate `db:"-"`

	Owner   int64
	Created int64
	Updated int64
	Deleted int64
	Version int64
}

func Create

func Create(db *gorp.DbMap, c ChangeLog) (ChangeLog, error)

func FewGet

func FewGet(db *gorp.DbMap, offset, limit int64) ([]ChangeLog, error)

func Get

func Get(db *gorp.DbMap, id int64) (ChangeLog, error)

func GetBySlug

func GetBySlug(db *gorp.DbMap, slug string) (ChangeLog, error)

Jump to

Keyboard shortcuts

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