English | 简体中文
GlobalEnv provides a simple and consistent way to manage global environment variables across different operating systems. It allows you to add, remove, update, and query environment variables, making it ideal for managing configuration values that need to persist across system sessions or applications.
go get "github.com/ansurfen/globalenv"package main
import (
"fmt"
"github.com/ansurfen/globalenv"
)
func main() {
globalenv.Set("globalEnv", "Hello World")
fmt.Println(globalenv.Get("globalEnv"))
}Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Check the contributing guide.
This software is licensed under the MIT license, see LICENSE for more information.
This Markdown was generated with ❤️ by docwiz