Versions in this module Expand all Collapse all v0 v0.0.1 Jul 29, 2016 Changes in this version + type EnumType struct + BaseType SimpleType + Values []interface{} + func (fieldType EnumType) ConvertFromModel(value interface{}) (interface{}, error) + func (fieldType EnumType) ConvertToModel(value interface{}) (interface{}, error) + type FieldDefinition struct + Required bool + Type FieldType + func (field FieldDefinition) ConvertFromModel(name string, value interface{}) (interface{}, error) + func (field FieldDefinition) ConvertToModel(name string, value interface{}) (interface{}, error) + func (j *FieldDefinition) Scan(src interface{}) error + func (j FieldDefinition) Value() (driver.Value, error) + func (self *FieldDefinition) UnmarshalJSON(bytes []byte) error + func (self FieldDefinition) MarshalJSON() ([]byte, error) + type FieldType interface + ConvertFromModel func(value interface{}) (interface{}, error) + ConvertToModel func(value interface{}) (interface{}, error) + GetKind func() Kind + type Fields map[string]interface + func (j *Fields) Scan(src interface{}) error + func (j Fields) Value() (driver.Value, error) + type Kind byte + const Duration + const Enum + const Float + const Instant + const Integer + const List + const String + const Url + const User + const WorkitemReference + type ListType struct + ComponentType SimpleType + func (fieldType ListType) ConvertFromModel(value interface{}) (interface{}, error) + func (fieldType ListType) ConvertToModel(value interface{}) (interface{}, error) + type SimpleType struct + Kind Kind + func (fieldType SimpleType) ConvertFromModel(value interface{}) (interface{}, error) + func (fieldType SimpleType) ConvertToModel(value interface{}) (interface{}, error) + func (self SimpleType) GetKind() Kind + type WorkItem struct + Fields Fields + ID uint64 + Name string + Type string + Version int + type WorkItemType struct + Fields map[string]FieldDefinition + Id uint64 + Name string