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

Adds support for uint16 with GetUint16 #1405

Merged
merged 1 commit into from Sep 4, 2022
Merged

Commits on Sep 3, 2022

  1. Adds support for uint16 with GetUint16

    We have encountered numerous places where it is convenient to have viper return a `uint16` value, especially in combination with the new `netip` package  that represents a port correctly as `uint16` rather than just an `int`. cobra already supports this, but we need a conversion from the existing `GetUint` method in viper.
    oxisto committed Sep 3, 2022
    Copy the full SHA
    ccfd0c1 View commit details
    Browse the repository at this point in the history