env

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(key string) error

Del 删除环境变量

func Get

func Get(key string, def ...interface{}) value.Value

Get 获取环境变量值

func Has

func Has(key string) bool

Has 是否存在环境变量

func Set

func Set(key string, value string) error

Set 设置环境变量值

Types

This section is empty.

Jump to

Keyboard shortcuts

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