Help us shape the future of Go! Take the 2026 Go Developer Survey

console

package
v1.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func New

func New(output io.Writer) *Module

func (*Module) Inject

func (m *Module) Inject(vm *goja.Runtime) error

func (*Module) Report

func (m *Module) Report(vm *goja.Runtime, name string, err error)

func (*Module) WriteError

func (m *Module) WriteError(vm *goja.Runtime, values []goja.Value, withStack bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL