models

package
v0.0.0-...-c924b6e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dbm *gorp.DbMap
)

Functions

This section is empty.

Types

type CustomTypeConverter

type CustomTypeConverter struct{}

func (CustomTypeConverter) FromDb

func (me CustomTypeConverter) FromDb(target interface{}) (gorp.CustomScanner, bool)

func (CustomTypeConverter) ToDb

func (me CustomTypeConverter) ToDb(val interface{}) (interface{}, error)

type JDate

type JDate time.Time

func (JDate) MarshalJSON

func (d JDate) MarshalJSON() ([]byte, error)

func (*JDate) UnmarshalJSON

func (d *JDate) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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