text

package
v0.0.0-...-d73c989 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: EUPL-1.2 Imports: 4 Imported by: 0

Documentation

Overview

Package text provides types, constants and function to work with text output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvaluateInlineString

func EvaluateInlineString(lst *sx.Pair) string

EvaluateInlineString returns the text content of the given inline list as a string.

Types

type Encoder

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

Encoder is the structure to hold relevant data to execute the encoding.

func NewEncoder

func NewEncoder() *Encoder

NewEncoder returns a new text encoder.

func (*Encoder) Encode

func (enc *Encoder) Encode(lst *sx.Pair) string

Encode the object list as a string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳