envutil

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package envutil wraps environment variable related operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvMap

func EnvMap() map[string]string

EnvMap returns environment variables as string map without cache

func InitEnvMap

func InitEnvMap() map[string]string

InitEnvMap returns the environment map when package is initialized, it may not be accurate due to other package modifying environment in init or the package is initialized via Go's plugin

func LoadDotEnv

func LoadDotEnv(file string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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