genv

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package genv provides operations for environment variables of system.

环境变量管理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []string

func Get

func Get(k string, def ...string) string

获取环境变量,并可以指定当环境变量不存在时的默认值

func Remove

func Remove(k string) error

func Set

func Set(k, v 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