Registry / cli / michaelmure-go-term-text

michaelmure-go-term-text

JSON →
library0.3.1gogounverified

Text formatting utilities for terminal output, including alignment, wrapping, and styling.

go get github.com/MichaelMure/go-term-text
INSTALL
IMPORT
SIG · MICHAELMURE-GO-TER
M
michaelmure-go-term-text
cligov0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

text
github.com/MichaelMure/go-term-text

Truncate a string to a specified length.

package main import ( "fmt" "github.com/MichaelMure/go-term-text" ) func main() { formatted := text.Truncate("Hello, World!", 5) fmt.Println(formatted) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
michaelmure-go-term-text — go get michaelmure-go-term-text · libregistry