Help us shape the future of Go! Take the 2026 Go Developer Survey

writer

package
v0.12.813 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StdOutStr string = "stdout"
	StdErrStr string = "stderr"
)

Variables

This section is empty.

Functions

func GetDecoratedOutputWriter

func GetDecoratedOutputWriter(filename string, cd presentation.Driver) (io.Writer, error)

func GetOutputWriter

func GetOutputWriter(filename string) (io.Writer, error)

Types

type StdStreamWriter

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

func (*StdStreamWriter) Write

func (ssw *StdStreamWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL