{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package env\n\n## Functions\n\n```go\nfunc CanExec() bool\n```\nCanExec reports whether the current system can start new processes using os.StartProcess or (more commonly) exec.Command.\n\n```go\nfunc InChina() bool\n```\nInChina returns whether the current time is in China Standard Time.\n\n```go\nfunc LookPath(xBin string) (string, error)\n```\nLookPath searches for an executable named file in the directories named by the PATH environment variable, for the os windows, the named file will be spliced with the .exe suffix.\n\n```go\nfunc LookUpGo() (string, error)\n```\nLookUpGo searches an executable go in the directories named by the GOROOT/bin or PATH environment variable.\n\n```go\nfunc LookUpProtoc() (string, error)\n```\nLookUpProtoc searches an executable protoc in the directories named by the PATH environment variable.\n\n```go\nfunc LookUpProtocGenGo() (string, error)\n```\nLookUpProtocGenGo searches an executable protoc-gen-go in the directories named by the PATH environment variable.\n\n```go\nfunc LookUpProtocGenGoGrpc() (string, error)\n```\nLookUpProtocGenGoGrpc searches an executable protoc-gen-go-grpc in the directories named by the PATH environment variable.\n\n","path":"github.com/acoderup/goctl/util/env","name":"env","synopsis":"","isRedistributable":true}
