Set Environment Variable in Go

Posted by yhuang
Public (Editable by Users)
Go
Edit
package main

import (
    "os"
)

func main() {

    os.Setenv("FOO", "1")
}