wordwrap

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package wordwrap provides a unicode-aware line-wrapping implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(text string, width int) []string

Wrap wraps text at unicode grapheme boundaries such that it fits within the specified maximum column width.

Types

This section is empty.

Jump to

Keyboard shortcuts

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