Set Environment Variable

Examples in Go
package main

import (
    "os"
)

func main() {

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