canonical

package
v6.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EMPTY uint64 = 0xc15d213aa4d7a795

Variables

View Source
var FP_TABLE []uint64

Functions

func AvroCRC64Fingerprint

func AvroCRC64Fingerprint(data []byte) []byte

func CanonicalForm

func CanonicalForm(t schema.AvroType) interface{}

func DefinitionCanonicalForm added in v6.5.0

func DefinitionCanonicalForm(d schema.Definition) interface{}

Types

type CanonicalFields

type CanonicalFields struct {
	Name    *string       `json:"name,omitempty"`
	Type    interface{}   `json:"type,omitempty"`
	Fields  []interface{} `json:"fields,omitempty"`
	Symbols []string      `json:"symbols,omitempty"`
	Items   interface{}   `json:"items,omitempty"`
	Values  interface{}   `json:"values,omitempty"`
	Size    *int          `json:"size,omitempty"`
}

Jump to

Keyboard shortcuts

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