replaceablewriter: github.com/Songmu/replaceablewriter Index | Files

package replaceablewriter

import "github.com/Songmu/replaceablewriter"

Index

Package Files

replaceablewriter.go version.go

type Writer Uses

type Writer struct {
    // contains filtered or unexported fields
}

func New Uses

func New(w io.Writer) *Writer

New returns new replaceablewriter

func (*Writer) Close Uses

func (w *Writer) Close() error

Close implements io.Closer

func (*Writer) Replace Uses

func (w *Writer) Replace(wtr io.Writer)

Replace internal io.Writer

func (*Writer) Write Uses

func (w *Writer) Write(b []byte) (int, error)

Write implements io.Writer

Package replaceablewriter imports 2 packages (graph). Updated 2019-11-21. Refresh now. Tools for package owners.