arg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "arg"

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Provider)

func WithKeyFactory

func WithKeyFactory(factory func(s ...string) string) Option

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Provider

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) Value

func (p *Provider) Value(_ context.Context, path ...string) (config.Value, error)

Jump to

Keyboard shortcuts

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