fmt

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package fmt provides bindings for Go's fmt package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(vm *goja.Runtime)

Register injects the fmt functions into the runtime

Types

type Module

type Module struct{}

Module implements the go:fmt package bindings.

func (*Module) Printf

func (f *Module) Printf(call goja.FunctionCall) goja.Value

Printf maps to fmt.Printf

func (*Module) Println

func (f *Module) Println(call goja.FunctionCall) goja.Value

Println maps to fmt.Println

Jump to

Keyboard shortcuts

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