Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct {
Fields Fields
}
func (*Schema) AssertField ¶
func (*Schema) AssertSchema ¶
func (schema *Schema) AssertSchema(t *testing.T, assertions []FieldAssertion)
type Type ¶
Type is either a scalar type, for which TypeName will be: - BooleanType - ByteType - ShortType - IntType - LongType - UByteType - UShortType - UIntType - ULongType - FloatType - DoubleType - BytesType - Utf8Type and Values, Fields will be nil or an ArrayType (TypeName will be ArrayType), Values will be another Type definition and Fields will be nil or a StructureType (TypeName will be StructureType), Values will be nil and Fields will be set with the fields of the structure.
type TypeName ¶
type TypeName string
const ( BooleanType TypeName = "boolean" ByteType TypeName = "byte" ShortType TypeName = "short" IntType TypeName = "int" LongType TypeName = "long" UByteType TypeName = "ubyte" UShortType TypeName = "ushort" UIntType TypeName = "uint" ULongType TypeName = "ulong" FloatType TypeName = "float" DoubleType TypeName = "double" BytesType TypeName = "bytes" Utf8Type TypeName = "utf8" ArrayType TypeName = "array" StructureType TypeName = "structure" )
Click to show internal directories.
Click to hide internal directories.