environ

package
v1.0.1-debug6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: BSD-2-Clause-Patent Imports: 2 Imported by: 0

Documentation

Overview

Package environ provides helper functions for working with environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Combine

func Combine(env ...map[string]string) map[string]string

Combine is a helper function combines one or more maps of environment variables into a single map.

func Map

func Map(envs []string) map[string]string

Map is a helper function that converts a slice of environment variables in key=value format to a map.

func Slice

func Slice(env map[string]string) []string

Slice is a helper function that converts a map of environment variables to a slice of string values in key=value format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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