package
Version:
v0.0.0-...-c233704
Opens a new window with list of versions in this module.
Published: Jan 5, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bar struct {
Example string `flag:"exampleString" flag-desc:"interesting value"`
Enabled bool `flag:"enable" flag-short:"e" flag-val:"false" flag-desc:"enables something"`
}
type Config struct {
Foo string `flag:"foo" flag-short:"f" flag-val:"gopher" flag-desc:"something something something..."`
Bar Bar `flag:"bar"`
Baz string `flag:"-"`
}
func (c *Config) PreValidate(_ *validator.Validate)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.