Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serializable ¶
type Serializable interface { sql.Scanner driver.Valuer // GetData returns the original wrapped value GetData() interface{} }
Serializable is an interface to allow serialization and deserialization to a db
func JSONBlob ¶
func JSONBlob(value interface{}) Serializable
JSONBlob returns an Serializable using json to []byte serialization
Click to show internal directories.
Click to hide internal directories.