secrets

package
v1.3.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSecretsFile

func ParseSecretsFile(path string) (map[string]string, error)

ParseSecretsFile reads a dotenv-style secrets file and returns the key-value pairs as a map. Lines starting with # are comments, blank lines are ignored, and values are split on the first = only (values may contain =). Whitespace around keys is trimmed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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