Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFromString ¶
DecodeFromString decodes the given property from string.
Types ¶
type ErrUnknownType ¶
type ErrUnknownType string
ErrUnknownType is returned when unable to recognize provided data type.
func (ErrUnknownType) Error ¶
func (e ErrUnknownType) Error() string
type Type ¶
type Type string
Type represents a value type definition.
const ( Double Type = "double" Float Type = "float" Int64 Type = "int64" Uint64 Type = "uint64" Int32 Type = "int32" Fixed64 Type = "fixed64" Fixed32 Type = "fixed32" Bool Type = "bool" String Type = "string" Array Type = "array" Message Type = "message" Bytes Type = "bytes" Uint32 Type = "uint32" Enum Type = "enum" Sfixed32 Type = "sfixed32" Sfixed64 Type = "sfixed64" Sint32 Type = "sint32" Sint64 Type = "sint64" Unknown Type = "unknown" OneOf Type = "oneOf" )
Spec types.
Click to show internal directories.
Click to hide internal directories.