fmt

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package fmt provides utility methods for building string representations of GX objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Func

func Func(f any) string

Func returns the name of a function.

func Indent

func Indent(x string) string

Indent the given string by a tabulation.

func IndentSkip

func IndentSkip(skip int, x string) string

IndentSkip skips some lines and indent the rest with a tabulation.

func Number

func Number(x string) string

Number adds a number prefix to all lines in a string.

func String

func String(x any) string

String returns a human-friendly debugging string representation of a GX object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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