serializers

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvroDecode

func AvroDecode(schema, data []byte) ([]byte, error)

AvroDecode takes in a path to a AVRO schema file, and binary encoded data and returns the plain JSON representation

func AvroDecodeWithSchemaFile added in v1.0.0

func AvroDecodeWithSchemaFile(schemaPath string, data []byte) ([]byte, error)

func AvroEncode

func AvroEncode(schema, data []byte) ([]byte, error)

func AvroEncodeWithSchemaFile added in v1.0.0

func AvroEncodeWithSchemaFile(schemaPath string, data []byte) ([]byte, error)

func TruncateRepoArchiveDirectory added in v1.0.0

func TruncateRepoArchiveDirectory(files map[string]string) map[string]string

TruncateRepoArchiveDirectory strips the github repo zip file's base directory from a file map

Types

This section is empty.

Jump to

Keyboard shortcuts

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