Registry / utility / emersion-go-textwrapper

emersion-go-textwrapper

JSON →
library0.0.0-20200911093747-65d896831594gogounverified

A writer that wraps long text lines to a specified length.

go get github.com/emersion/go-textwrapper
INSTALL
IMPORT
SIG · EMERSION-GO-TEXTWR
E
emersion-go-textwrapper
utilitygov0.0.0-20200911093747-65d896831594
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.

textwrapper
github.com/emersion/go-textwrapper

Wraps text to a specified line length.

package main import ( "fmt" "github.com/emersion/go-textwrapper" ) func main() { w := textwrapper.New(80) fmt.Fprint(w, "A very long line that should be wrapped at 80 characters.") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200911093747-65d896831594latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
emersion-go-textwrapper — go get emersion-go-textwrapper · libregistry