Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WasmOutputBuffer = &StubBuffer{}
WasmOutputBuffer is a stub for non-WASM builds
Functions ¶
func CaptureOutput ¶
func CaptureOutput(fn func()) string
func GetCapturedOutput ¶
func GetCapturedOutput() string
func RegisterOutputStateReset ¶ added in v0.5.8
func RegisterOutputStateReset(_ func())
Types ¶
type StubBuffer ¶
type StubBuffer struct{}
StubBuffer provides a no-op implementation for non-WASM builds
func (*StubBuffer) Reset ¶
func (d *StubBuffer) Reset()
func (*StubBuffer) String ¶
func (d *StubBuffer) String() string
Click to show internal directories.
Click to hide internal directories.