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

Bump go to 1.22 & all deps #49

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Bump go to 1.22 & all deps #49

merged 5 commits into from
Apr 5, 2024

Commits on Apr 5, 2024

  1. go v1.22

    joshkeegan-form3 committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    307bb66 View commit details
    Browse the repository at this point in the history
  2. go mod tidy

    joshkeegan-form3 committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    8833317 View commit details
    Browse the repository at this point in the history
  3. Update all deps

    joshkeegan-form3 committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    769c581 View commit details
    Browse the repository at this point in the history
  4. go mod vendor

    joshkeegan-form3 committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    eb0a754 View commit details
    Browse the repository at this point in the history
  5. fix empty SERVER_ADDRESS config loading

    After bumping packages, envconfig behaviour has changed. If a struct contains a pointer, and no value is being loaded, it will now generate the zero value for the pointed type rather than nil.
    
    This prevented the proxy from being started if no SERVER_ADDRESS was specified, as ConfigureProxy checks for no server address being specified by comparing it to url.URL{}, which because of the pointer is no longer equal.
    
    The fix is a simple config change for envconfig so that it will use nil rather than the zero value for the pointer when no value is specified.
    joshkeegan-form3 committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    57bfe91 View commit details
    Browse the repository at this point in the history