Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VERSION = "4.3.8"
VERSION identifies Khan's current version
Functions ¶
Types ¶
type LevelsList ¶
type LevelsList []Level
LevelsList allows sorting levels by the int value
func (LevelsList) Len ¶
func (l LevelsList) Len() int
func (LevelsList) Less ¶
func (l LevelsList) Less(i, j int) bool
func (LevelsList) Swap ¶
func (l LevelsList) Swap(i, j int)
type TypeConverter ¶
type TypeConverter struct{}
TypeConverter type
func (TypeConverter) FromDb ¶
func (tc TypeConverter) FromDb(target interface{}) (gorp.CustomScanner, bool)
FromDb converts target from string to json
func (TypeConverter) ToDb ¶
func (tc TypeConverter) ToDb(val interface{}) (interface{}, error)
ToDb converts val from json to string
Click to show internal directories.
Click to hide internal directories.