Versions in this module Expand all Collapse all v1 v1.18.1 Aug 15, 2022 Changes in this version + const Compiler — js/wasm + const GOARCH — js/wasm + const GOOS — js/wasm + var MemProfileRate int = 512 * 1024 — js/wasm + func Breakpoint() — js/wasm + func Caller(skip int) (pc uintptr, file string, line int, ok bool) — js/wasm + func Callers(skip int, pc []uintptr) int — js/wasm + func GC() — js/wasm + func GOMAXPROCS(int) int — js/wasm + func GOROOT() string — js/wasm + func Goexit() — js/wasm + func Gosched() — js/wasm + func KeepAlive(interface{}) — js/wasm + func LockOSThread() — js/wasm + func NumCPU() int — js/wasm + func NumCgoCall() int64 — js/wasm + func NumGoroutine() int — js/wasm + func ParseCallFrame(info *js.Object) basicFrame — js/wasm + func ReadMemStats(m *MemStats) — js/wasm + func ReadTrace() []byte — js/wasm + func SetBlockProfileRate(rate int) — js/wasm + func SetFinalizer(x, f interface{}) — js/wasm + func SetMutexProfileFraction(rate int) int — js/wasm + func Stack(buf []byte, all bool) int — js/wasm + func StartTrace() error — js/wasm + func StopTrace() — js/wasm + func UnlockOSThread() — js/wasm + func Version() string — js/wasm + type Error interface — js/wasm + RuntimeError func() + type Frame struct — js/wasm + Entry uintptr + File string + Func *Func + Function string + Line int + PC uintptr + type Frames struct — js/wasm + func CallersFrames(callers []uintptr) *Frames + func (ci *Frames) Next() (frame Frame, more bool) + type Func struct — js/wasm + func FuncForPC(pc uintptr) *Func + func (_ *Func) Entry() uintptr + func (f *Func) FileLine(pc uintptr) (file string, line int) + func (f *Func) Name() string + type MemStats struct — js/wasm + Alloc uint64 + BuckHashSys uint64 + BySize [61]struct{ ... } + DebugGC bool + EnableGC bool + Frees uint64 + GCCPUFraction float64 + GCSys uint64 + HeapAlloc uint64 + HeapIdle uint64 + HeapInuse uint64 + HeapObjects uint64 + HeapReleased uint64 + HeapSys uint64 + LastGC uint64 + Lookups uint64 + MCacheInuse uint64 + MCacheSys uint64 + MSpanInuse uint64 + MSpanSys uint64 + Mallocs uint64 + NextGC uint64 + NumGC uint32 + OtherSys uint64 + PauseEnd [256]uint64 + PauseNs [256]uint64 + PauseTotalNs uint64 + StackInuse uint64 + StackSys uint64 + Sys uint64 + TotalAlloc uint64 + type TypeAssertionError struct — js/wasm + func (*TypeAssertionError) RuntimeError() + func (e *TypeAssertionError) Error() string