Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information