Csvutil Versions Save

csvutil provides fast and idiomatic mapping between CSV and Go (golang) values.

v1.2.2

4 years ago

Highlights

  • Fixed panic on encoding interface fields that contain nil pointer values

v1.2.1

5 years ago

Highlights

  • Fixed panic on encoding interface fields that contain pointer values
  • Added tests for potential data races on cached resources
  • Updated travis and appveyor to run with Go1.11

v1.2.0

5 years ago

Highlights

  • Added support for older Go versions (minimum version is Go1.7)
  • Added Decoder.Map for data normalization (example)
  • Decoder can now properly handle interface values that are initialized pointers - it decodes data into these values instead of creating a string (example)
  • Added go.mod file
  • Fixed the issue where Header and EncoderHeader were not recognizing the type properly if the value was wrapped in additional interfaces
  • Improved internal code
  • Improved documentation

v1.1.1

6 years ago

Decoder now stores its own copy of the header.

Decoder.Header would return unexpected data if the caller was using a csv.Reader with ReuseRecord flag set to true.

v1.1.0

6 years ago

Highligths

  • Improved performance
  • Fixed Marshal and Encode panic on nil values
  • Fixed panic in Go1.10 while decoding to nil pointer to unexported embedded type
  • Added Header function
  • Added Encoder.EncodeHeader method
  • Added Encoder.AutoHeader field

v1.0.0

6 years ago