diff --git a/src/runtime/debug.go b/src/runtime/debug.go index 8a69c6e24..293d1cc06 100644 --- a/src/runtime/debug.go +++ b/src/runtime/debug.go @@ -8,3 +8,17 @@ package runtime func NumCPU() int { return 1 } + +// NumCgoCall returns the number of cgo calls made by the current process. +func NumCgoCall() int { + return 0 +} + +// NumGoroutine returns the number of goroutines that currently exist. +func NumGoroutine() int { + return 1 +} + +func Version() string { + return "v0.1.0" +}