envparser

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrZeroLengthString        = results.Define("ERRBCE0001", "zero length string")        //nolint:gochecknoglobals
	ErrKeyNameNotFound         = results.Define("ERRBCE0002", "key name not found")        //nolint:gochecknoglobals
	ErrUnexpectedChar          = results.Define("ERRBCE0003", "unexpected character")      //nolint:gochecknoglobals
	ErrUnterminatedQuotedValue = results.Define("ERRBCE0004", "unterminated quoted value") //nolint:gochecknoglobals
)

Functions

func Parse

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

func ParseBytes

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

func TryParseFiles

func TryParseFiles(m *map[string]any, 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