internal

package
v0.0.0-...-c233704 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

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

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 (*Config) PreValidate

func (c *Config) PreValidate(_ *validator.Validate)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL