Skip to content

Ansurfen/globalenv

Repository files navigation

Welcome to globalenv 👋

Go


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.

📦 Install

go get "github.com/ansurfen/globalenv"

🚀 Usage

package main

import (
    "fmt"
    "github.com/ansurfen/globalenv"    
)

func main() {
    globalenv.Set("globalEnv", "Hello World")

    fmt.Println(globalenv.Get("globalEnv"))
}

🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Check the contributing guide.

📝 License

This software is licensed under the MIT license, see LICENSE for more information.


This Markdown was generated with ❤️ by docwiz

About

A Go library for managing global environment variables across systems.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages