GoPLS Viewer

Home|gopls/go/ssa/interp/testdata/src/runtime/runtime.go
1package runtime
2
3// An errorString represents a runtime error described by a single string.
4type errorString string
5
6func (e errorStringRuntimeError() {}
7
8func (e errorStringError() string {
9    return "runtime error: " + string(e)
10}
11
12func Breakpoint()
13
14type Error interface {
15    error
16    RuntimeError()
17}
18
19const GOOS = "linux"
20const GOARCH = "amd64"
21
22func GC()
23
MembersX
errorString.RuntimeError
errorString.Error.e
Breakpoint
Error
GOARCH
GC
errorString
errorString.RuntimeError.e
errorString.Error
GOOS
Members
X