This repository has been archived on 2019-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
gop/cmd/env.go
Lunny Xiao 38a72db3a7
All checks were successful
continuous-integration/drone/push Build is passing
fix conflict with go mod (#32)
2019-08-27 05:27:30 +00:00

17 lines
312 B
Go

// Copyright 2019 The Gop Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package cmd
import "os"
var (
GlobalEnvs []string
)
func init() {
GlobalEnvs = os.Environ()
GlobalEnvs = append(GlobalEnvs, "GO111MODULE=off")
}