dict

package
v0.0.0-...-9116ad2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CachedDicts

func CachedDicts(limit int) (objs []*models.Dict)

Cache expires: 1 hour

func CachedNames

func CachedNames() []string

func FirstByName

func FirstByName(name string, out interface{}) *gorm.DB

func FirstOrCreateByCommit

func FirstOrCreateByCommit(c forms.Commit) (*m.Dict, bool, error)

func RelationDB

func RelationDB() *gorm.DB

func UpdateByCommit

func UpdateByCommit(c forms.Commit) *m.Dict

Types

This section is empty.

Jump to

Keyboard shortcuts

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