Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Anonymous field pointers #622

Merged
merged 3 commits into from Jul 6, 2022
Merged

fix: Anonymous field pointers #622

merged 3 commits into from Jul 6, 2022

Commits on Jul 4, 2022

  1. fix: Anonymous field pointers

    Fix panic using ArgsFlat or ScanStruct on structs with nil Anonymous
    field pointers.
    
    Also:
    * Remove unused travis-ci link from README.
    
    Fixes: #621
    stevenh committed Jul 4, 2022
    Copy the full SHA
    7f26272 View commit details
    Browse the repository at this point in the history
  2. fix: builds on go before 1.18

    Remove the incorrect go1.17 tag so that builds on go versions below
    v1.18 work as expected.
    stevenh committed Jul 4, 2022
    Copy the full SHA
    fee9988 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. fix: anonymous struct recursion

    Catch the case where anonymous struct recursion and prevent it.
    
    In the case of ScanStruct an error will be returned, in the case of
    ArgsFlat it will panic with a nice error.
    stevenh committed Jul 5, 2022
    Copy the full SHA
    5813041 View commit details
    Browse the repository at this point in the history