envfile

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MaxBytes = 1 << 20

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	Name  string `json:"name"`
	Value string `json:"value"`
	Line  int    `json:"line"`
}

func ParseBytes

func ParseBytes(raw []byte, opts Options) ([]Binding, error)

type Options

type Options struct {
	Literal bool
}

type SecretMap

type SecretMap map[string]string

func ToSecretMap

func ToSecretMap(bindings []Binding) SecretMap

Jump to

Keyboard shortcuts

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