dotenv

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dotenv loads .env files into KEY=VALUE environment pairs for tasks (set dotenv). It supports comments, blank lines, an optional leading `export `, and single/double-quoted values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) ([]string, error)

Load reads a .env file and returns its KEY=VALUE pairs. A missing file is not an error (returns nil).

Types

This section is empty.

Jump to

Keyboard shortcuts

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