Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
goavro
✓ github.com/linkedin/goavro
Demonstrates encoding and decoding Avro data using goavro.
package main
import (
"fmt"
"github.com/linkedin/goavro"
)
func main() {
codec, err := goavro.NewCodec(`{"type": "int"}`)
if err != nil {
panic(err)
}
datum, _, err := codec.NativeFromTextual([]byte("42"))
if err != nil {
panic(err)
}
fmt.Println(datum)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.1.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.