github.com/btwiuse/jiri@v0.0.0-20191125065820-53353bcfef54/textutil/doc.go (about)

     1  // Copyright 2015 The Vanadium Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package textutil implements utilities for handling human-readable text.
     6  //
     7  // This package includes a combination of low-level and high-level utilities.
     8  // The main high-level utilities are:
     9  //   NewUTF8WrapWriter: Text formatter with line-based word wrapping.
    10  //   PrefixWriter:      Add prefix to output.
    11  //   PrefixLineWriter:  Add prefix to each line in output.
    12  //   ByteReplaceWriter: Replace single byte with bytes in output.
    13  package textutil