Skip to content

Conversation

@leonsteinhaeuser
Copy link
Contributor

This PR adds support for empty columns and rows (rows only for typed data)

@leonsteinhaeuser leonsteinhaeuser added bug fix Indicates that this change contains bug fixes enhancement New feature or request size: M Size M indicates that the changes affect less then 500 lines of code. labels Jul 7, 2021
@leonsteinhaeuser leonsteinhaeuser self-assigned this Jul 7, 2021
@leonsteinhaeuser leonsteinhaeuser changed the title Added support for blank columns and empty type rows Added support for blank columns and empty typed rows Jul 7, 2021
@leonsteinhaeuser leonsteinhaeuser changed the title Added support for blank columns and empty typed rows Added support for blank columns, empty typed rows and pointers Jul 9, 2021
@leonsteinhaeuser leonsteinhaeuser marked this pull request as ready for review July 9, 2021 11:37
@leonsteinhaeuser leonsteinhaeuser added size: L Size L indicates that the changes affect less then 1000 lines of code. and removed size: M Size M indicates that the changes affect less then 500 lines of code. labels Jul 9, 2021
Copy link
Contributor

@martinrode martinrode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Initialize CSV with CSVParser{}.
  • Make all options capitalized.
  • Sort all exported function to the top
  • export "Typed()", "Untyped()" (renamed from ToTypedMap, ToUntypedMap)

We no longer return &interface{} as type when using *json, but instead we maintain the actual type of the JSON (as created by unmarshal) and return a pointer to it.
@martinrode martinrode merged commit 252899e into main Jul 12, 2021
@martinrode martinrode deleted the enhancement/csv-empty-columns-and-rows branch July 12, 2021 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Indicates that this change contains bug fixes enhancement New feature or request size: L Size L indicates that the changes affect less then 1000 lines of code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants