env

package module
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Overview

Package env converts environment-style key-value data between lists and maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListToMap

func ListToMap(list []string) map[string]string

ListToMap converts a list of strings in format KEY=VALUE into a map

func MapToList

func MapToList(envMap map[string]string) []string

MapToList converts a map into a list of strings in format KEY=VALUE

Types

This section is empty.

Jump to

Keyboard shortcuts

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