Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteField ¶
type Field ¶
type Field interface { json.Marshaler ValueStringSerializer }
type OrderedStructType ¶
type OrderedStructType struct { StructType Ordering []string }
func FieldsStructTypeFromList ¶
func FieldsStructTypeFromList(fields []ConcreteField) OrderedStructType
func (OrderedStructType) FieldNames ¶
func (f OrderedStructType) FieldNames() []string
type StructType ¶
type StructTypeMap ¶
func (StructTypeMap) AsMap ¶
func (f StructTypeMap) AsMap() map[string]Field
func (StructTypeMap) FieldNames ¶
func (f StructTypeMap) FieldNames() []string
type ValueStringSerializer ¶
type ValueStringSerializer interface { SerializeValueToString(value interface{}) string DeserializeValueFromString(s string) (interface{}, error) }
TODO: when generics come to golang, this should replace interface{} TODO: think a bit about name
Click to show internal directories.
Click to hide internal directories.