Discover Packages
github.com/ceggebor/goyang
pkg
indent
package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package indent indents lines of text.
Bytes returns b with each line in b prefixed by indent.
NewWriter returns an io.Writer that prefixes the lines written to it with
indent and then writes them to w. The writer returns the number of bytes
written to the underlying Writer.
String returns s with each line in s prefixed by indent.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.