You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement time.Duration as logical type "duration-nanos"
That uses "long" as underlying type.
This is not part of the Avro specification that holds "duration"
logical type that does not have a 1on1 relationship with any
std library package thus this extension has been implemented.
-`{"type": "long", "name": "duration-nanos"}` is represented as `time.Duration` type.
41
42
42
43
If a definition has a `go.package` annotation the type from that package will be used instead of generating a Go type. The type must be compatible with the Avro schema (it may contain extra fields, but all fields in common must be compatible).
0 commit comments