Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-openapi/swag
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.22.3
Choose a base ref
...
head repository: go-openapi/swag
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.22.4
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 28, 2023

  1. check for nil pointers before calling IsZero. (#67)

    * check for nil pointers before calling IsZero.
    This avoids panics when a nil pointer to a type that implements zeroable interface is passed to IsZero
    
    Signed-off-by: Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
    
    * move tests for nil zeroable to TestIsZero
    
    Signed-off-by: Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
    
    * slightly cleanup nil handling
    
    Signed-off-by: Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
    mszczygiel authored Mar 28, 2023
    Configuration menu
    Copy the full SHA
    f28dd7a View commit details
    Browse the repository at this point in the history
Loading