github.com/hamba/avro/v2@v2.22.1-0.20240518180522-aff3955acf7d/types.go (about)

     1  package avro
     2  
     3  // LogicalDuration represents the `duration` logical type, as defined in
     4  // https://avro.apache.org/docs/1.11.1/specification/#duration
     5  type LogicalDuration struct {
     6  	Months       uint32
     7  	Days         uint32
     8  	Milliseconds uint32
     9  }