Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Err = errors.New("urfave/cli-altsrc error")
)
Functions ¶
func MustTestdataDir ¶
Types ¶
type MapAnyAnyURISourceCache ¶
type MapAnyAnyURISourceCache = URISourceCache[map[any]any]
func NewMapAnyAnyURISourceCache ¶
func NewMapAnyAnyURISourceCache(file string, f func([]byte, any) error) *MapAnyAnyURISourceCache
type StringPtrSourcer ¶
type StringPtrSourcer struct {
// contains filtered or unexported fields
}
func NewStringPtrSourcer ¶
func NewStringPtrSourcer(p *string) StringPtrSourcer
func (StringPtrSourcer) SourceURI ¶
func (s StringPtrSourcer) SourceURI() string
type StringSourcer ¶
type StringSourcer string
func (StringSourcer) SourceURI ¶
func (s StringSourcer) SourceURI() string
type URISourceCache ¶
type URISourceCache[T any] struct { // contains filtered or unexported fields }
func NewURISourceCache ¶
func (*URISourceCache[T]) Get ¶
func (fsc *URISourceCache[T]) Get() T
type ValueSource ¶
type ValueSource struct {
// contains filtered or unexported fields
}
func NewValueSource ¶
func (*ValueSource) GoString ¶
func (vs *ValueSource) GoString() string
func (*ValueSource) Lookup ¶
func (vs *ValueSource) Lookup() (string, bool)
func (*ValueSource) String ¶
func (vs *ValueSource) String() string
Click to show internal directories.
Click to hide internal directories.