patch: fmt, os, runtime, syscall, time
This commit is contained in:
@@ -20,3 +20,17 @@ package runtime
|
||||
import (
|
||||
_ "unsafe"
|
||||
)
|
||||
|
||||
// GOROOT returns the root of the Go tree. It uses the
|
||||
// GOROOT environment variable, if set at process start,
|
||||
// or else the root used during the Go build.
|
||||
func GOROOT() string {
|
||||
/*
|
||||
s := gogetenv("GOROOT")
|
||||
if s != "" {
|
||||
return s
|
||||
}
|
||||
return defaultGOROOT
|
||||
*/
|
||||
panic("todo: GOROOT")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user