It would be great to support different types as config fields, not only string.
So let's add additional types along with the default noble.Secret.
For example:
noble.Int
noble.Int32
noble.Int64
noble.Uint
noble.Uint32
noble.Uint64
noble.Float32
noble.Float64
- Slices and Maps.
- Generic type for any custom user type.
Here can be found a nice example: https://github.com/urfave/cli.
Limitation
The minimal required version of Go should be upgraded to go 1.18.
It would be great to support different types as config fields, not only
string.So let's add additional types along with the default
noble.Secret.For example:
noble.Intnoble.Int32noble.Int64noble.Uintnoble.Uint32noble.Uint64noble.Float32noble.Float64Here can be found a nice example: https://github.com/urfave/cli.
Limitation
The minimal required version of Go should be upgraded to
go 1.18.