Back to godoc.org

Package iofmt

v0.0.9
Latest Go to latest
Published: Jun 24, 2020 | License: Apache-2.0 | Module: github.com/grailbio/base

Overview

Package iofmt contains various IO utilities used for formatting output.

Index

Package Files

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier