Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Marshallers = map[models.Serialization]Marshaller{}
Functions ¶
func Register ¶
func Register(key models.Serialization, marshaller Marshaller)
Types ¶
type Marshaller ¶
type Marshaller interface { Marshal(in interface{}, variable model.ContentVariable) (out string, err error) Unmarshal(in string, variable model.ContentVariable) (out interface{}, err error) }
func Get ¶
func Get(key models.Serialization) (marshaller Marshaller, ok bool)
Click to show internal directories.
Click to hide internal directories.