config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ReaderFlag = "flag"

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	reader.BaseReader
	// contains filtered or unexported fields
}

Configuration Reader for Flags(Commandline) inputs

func New

func New() *Reader

func (*Reader) Configurator

func (r *Reader) Configurator() string

func (*Reader) Get

func (r *Reader) Get(_ *options.Options, field *reader.Field) (any, bool)

func (*Reader) Parse

func (r *Reader) Parse(_ *options.Options, fields []*reader.Field) error

Jump to

Keyboard shortcuts

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