fuzzes

package
v0.0.0-...-909dfdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ComplexSchemaRaw = `` /* 2138-byte string literal not displayed */
View Source
const PrimitiveSchemaRaw = `` /* 370-byte string literal not displayed */

Variables

View Source
var CombinedSchemaRaw = `{
    "type": "record",
    "namespace": "example.avro",
    "name": "CombinedEverything",
    "fields": [
        {
            "name": "complex",
            "type": ["null", ` + ComplexSchemaRaw + `]
        },
        {
            "name": "primitive",
            "type": ["null", ` + PrimitiveSchemaRaw + `]
        }
    ]
}`
View Source
var ComplexEnumSymbols = []string{"A", "B", "C", "D"}

Functions

func NewComplexEnumField

func NewComplexEnumField() *avro.GenericEnum

Types

type Combined

type Combined struct {
	Complex   *Complex
	Primitive *Primitive
}

type Complex

type Complex struct {
	StringArray []string
	LongArray   []int64
	EnumField   *avro.GenericEnum
	MapOfInts   map[string]int32
	UnionField  interface{}
	FixedField  []byte
	RecordField *TestRecord
	MapOfRecord map[string]*TestRecord
}

complex

type Primitive

type Primitive struct {
	BooleanField bool
	IntField     int32
	LongField    int64
	FloatField   float32
	DoubleField  float64
	BytesField   []byte
	StringField  string
	NullField    interface{}
}

type TestRecord

type TestRecord struct {
	LongRecordField   int64
	StringRecordField string
	IntRecordField    int32
	FloatRecordField  float32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL