Versions in this module Expand all Collapse all v8 v8.0.0 May 8, 2021 Changes in this version + func GAJSONToAvroBytes(fixture json.RawMessage, codec *goavro.Codec) ([]byte, error) + func GGJSONToAvroBytes(fixture json.RawMessage, fixtureType container.AvroRecord) ([]byte, error) + func LoadTestFixtures() ([]json.RawMessage, error) + func LoadTestSchema() ([]byte, error) + func RoundTrip(t *testing.T, recordFunc RecordFactory, deserMethod DeserMethod) + func RoundTripEvolution(t *testing.T, oldRecordFunc, newRecordFunc RecordFactory, ...) + func RoundTripExactBytes(t *testing.T, recordFunc RecordFactory, deserMethod DeserMethod) + func RoundTripGoGenOnly(t *testing.T, recordFunc RecordFactory, deserMethod DeserMethod) + type DeserMethod func(io.Reader) (container.AvroRecord, error) + type EvolutionDeserMethod func(io.Reader, string) (container.AvroRecord, error) + type EvolutionFixture struct + Data json.RawMessage + Err *string + Expected json.RawMessage + func LoadEvolutionFixtures() ([]EvolutionFixture, error) + type RecordFactory func() container.AvroRecord v8.0.0-beta1 Nov 6, 2020 Other modules containing this package github.com/actgardner/gogen-avro github.com/actgardner/gogen-avro/v10 github.com/actgardner/gogen-avro/v7 github.com/actgardner/gogen-avro/v9