env

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package env loads a minimal .env file. Shell-set variables always win over file values, matching tgcli.env in the Python reference.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFile

func LoadFile(path string) error

LoadFile reads a KEY=value file and writes any unset keys into the process environment. Quotes around values are stripped. Comments (#) and blank lines are ignored. Missing files are not an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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