Registry / utility / kr-text

kr-text

JSON →
library0.2.0gogounverified

Package text provides rudimentary functions for manipulating text in paragraphs.

go get github.com/kr/text
INSTALL
IMPORT
SIG · KR-TEXT
K
kr-text
utilitygov0.2.0
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/kr/text

Wraps text to a specified width.

import "github.com/kr/text" func main() { wrapped := text.Wrap("Hello world", 10) fmt.Println(wrapped) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
kr-text — go get kr-text · libregistry