envparser

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrZeroLengthString        = errors.New("zero length string")
	ErrKeyNameNotFound         = errors.New("key name not found")
	ErrUnexpectedChar          = errors.New("unexpected character")
	ErrUnterminatedQuotedValue = errors.New("unterminated quoted value")
)
View Source
var ErrParsingError = errors.New("parsing error")

Functions

func Parse

func Parse(m *map[string]any, keyCaseInsensitive bool, r io.Reader) error

func ParseBytes

func ParseBytes(data []byte, keyCaseInsensitive bool, out *map[string]any) error

func TryParseFiles

func TryParseFiles(m *map[string]any, keyCaseInsensitive bool, filenames ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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