Documentation

Overview

    Package iofmt contains various IO utilities used for formatting output.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func PrefixWriter

    func PrefixWriter(w io.Writer, prefix string) io.Writer

      PrefixWriter returns a new io.Writer that copies its writes to the provided io.Writer, adding a prefix at the beginning of each line.

      Types

      This section is empty.

      Source Files