pkg

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(ctx context.Context, filename string) (*ast.Document, error)

func Parse

func Parse(ctx context.Context, r io.Reader, filename string) (*ast.Document, error)

Parse reads an env file from io.Reader, returning a map of keys and values.

func Save

func Save(ctx context.Context, filename string, doc *ast.Document) error

Types

This section is empty.

Directories

Path Synopsis
ast
Package ast declares the types used to represent syntax trees for the .env file.
Package ast declares the types used to represent syntax trees for the .env file.
cli
nolint:varnamelen
nolint:varnamelen

Jump to

Keyboard shortcuts

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