package stdio

Import Path
	github.com/gookit/goutil/x/stdio (on go.dev)

Dependency Relation
	imports 6 packages, and imported by one package

Involved Source Files iface.go ioutil.go Package stdio provide some standard IO util functions. writer.go
Package-Level Type Names (total 6)
/* sort by: | */
FlushCloseWriter is the interface satisfied by logging destinations. ( FlushCloseWriter) Close() error ( FlushCloseWriter) Flush() error ( FlushCloseWriter) Write([]byte) (int, error) *github.com/gookit/goutil/byteutil.Buffer *github.com/andybalholm/brotli.Writer *github.com/golang/snappy.Writer *github.com/hamba/avro/v2/ocf.Encoder *github.com/klauspost/compress/flate.Writer *github.com/klauspost/compress/gzip.Writer *github.com/klauspost/compress/internal/snapref.Writer *github.com/klauspost/compress/s2.Writer *github.com/klauspost/compress/zstd.Encoder *github.com/libp2p/go-buffer-pool.Writer github.com/multiformats/go-multistream.LazyConn (interface) *github.com/pierrec/lz4/v4.Writer *archive/tar.Writer *compress/flate.Writer *compress/gzip.Writer *compress/zlib.Writer FlushCloseWriter : Flusher FlushCloseWriter : FlushWriter FlushCloseWriter : github.com/apache/thrift/lib/go/thrift.Flusher FlushCloseWriter : github.com/miekg/dns.Writer FlushCloseWriter : github.com/prometheus/common/expfmt.Closer FlushCloseWriter : internal/bisect.Writer FlushCloseWriter : io.Closer FlushCloseWriter : io.WriteCloser FlushCloseWriter : io.Writer
Flusher interface ( Flusher) Flush() error FlushCloseWriter (interface) FlushWriter (interface) *github.com/gookit/goutil/byteutil.Buffer *github.com/andybalholm/brotli.Writer github.com/apache/thrift/lib/go/thrift.Flusher (interface) *github.com/dgraph-io/badger/v4.StreamWriter *github.com/dgraph-io/badger/v4.WriteBatch *github.com/golang/snappy.Writer *github.com/hamba/avro/v2.Writer *github.com/hamba/avro/v2/ocf.Encoder *github.com/json-iterator/go.Stream *github.com/klauspost/compress/flate.Writer *github.com/klauspost/compress/gzip.Writer *github.com/klauspost/compress/internal/snapref.Writer *github.com/klauspost/compress/s2.Writer *github.com/klauspost/compress/zstd.Encoder *github.com/libp2p/go-buffer-pool.Writer *github.com/libp2p/go-msgio.LimitedWriter github.com/multiformats/go-multistream.LazyConn (interface) *github.com/nats-io/nats.go.Conn *github.com/nats-io/nats.go.EncodedConn *github.com/parquet-go/parquet-go.GenericWriter[...] *github.com/parquet-go/parquet-go.SortingWriter[...] *github.com/parquet-go/parquet-go.Writer *github.com/pierrec/lz4/v4.Writer github.com/polarsignals/frostdb.ParquetWriter (interface) github.com/polarsignals/frostdb/dynparquet.ParquetWriter (interface) github.com/polarsignals/frostdb/dynparquet.PooledWriter github.com/yuin/goldmark/util.BufWriter (interface) *archive/tar.Writer *archive/zip.Writer bufio.ReadWriter *bufio.Writer *compress/flate.Writer *compress/gzip.Writer *compress/zlib.Writer *encoding/xml.Encoder mvdan.cc/sh/v3/syntax.Printer *net/http.ResponseController net/http/internal.FlushAfterChunkWriter *text/tabwriter.Writer Flusher : github.com/apache/thrift/lib/go/thrift.Flusher
FlushWriter is the interface satisfied by logging destinations. ( FlushWriter) Flush() error ( FlushWriter) Write([]byte) (int, error) FlushCloseWriter (interface) *github.com/gookit/goutil/byteutil.Buffer *github.com/andybalholm/brotli.Writer *github.com/golang/snappy.Writer *github.com/hamba/avro/v2.Writer *github.com/hamba/avro/v2/ocf.Encoder *github.com/json-iterator/go.Stream *github.com/klauspost/compress/flate.Writer *github.com/klauspost/compress/gzip.Writer *github.com/klauspost/compress/internal/snapref.Writer *github.com/klauspost/compress/s2.Writer *github.com/klauspost/compress/zstd.Encoder *github.com/libp2p/go-buffer-pool.Writer *github.com/libp2p/go-msgio.LimitedWriter github.com/multiformats/go-multistream.LazyConn (interface) *github.com/pierrec/lz4/v4.Writer github.com/yuin/goldmark/util.BufWriter (interface) *archive/tar.Writer bufio.ReadWriter *bufio.Writer *compress/flate.Writer *compress/gzip.Writer *compress/zlib.Writer mvdan.cc/sh/v3/syntax.Printer net/http/internal.FlushAfterChunkWriter *text/tabwriter.Writer FlushWriter : Flusher FlushWriter : github.com/apache/thrift/lib/go/thrift.Flusher FlushWriter : github.com/miekg/dns.Writer FlushWriter : internal/bisect.Writer FlushWriter : io.Writer
SyncCloseWriter is the interface satisfied by logging destinations. such as os.File ( SyncCloseWriter) Close() error ( SyncCloseWriter) Sync() error ( SyncCloseWriter) Write([]byte) (int, error) *github.com/gookit/goutil/byteutil.Buffer github.com/coreos/etcd/pkg/fileutil.LockedFile *github.com/polarsignals/wal/fs.File go.uber.org/zap.Sink (interface) *os.File SyncCloseWriter : Syncer SyncCloseWriter : github.com/miekg/dns.Writer SyncCloseWriter : github.com/polarsignals/frostdb.Sync SyncCloseWriter : github.com/prometheus/common/expfmt.Closer SyncCloseWriter : go.uber.org/zap.Sink SyncCloseWriter : go.uber.org/zap/zapcore.WriteSyncer SyncCloseWriter : internal/bisect.Writer SyncCloseWriter : io.Closer SyncCloseWriter : io.WriteCloser SyncCloseWriter : io.Writer
Syncer interface ( Syncer) Sync() error SyncCloseWriter (interface) *github.com/gookit/goutil/byteutil.Buffer github.com/coreos/etcd/pkg/fileutil.LockedFile *github.com/dgraph-io/badger/v4.DB github.com/dgraph-io/badger/v4/table.Table *github.com/dgraph-io/ristretto/v2/z.MmapFile *github.com/ipfs/go-log/v2.ZapEventLogger github.com/ncruces/go-sqlite3.VTabSavepointer (interface) github.com/ncruces/go-sqlite3.VTabTxn (interface) *github.com/pancsta/asyncmachine-go/pkg/history.BaseMemory github.com/pancsta/asyncmachine-go/pkg/history.Memory github.com/pancsta/asyncmachine-go/pkg/history.MemoryApi (interface) *github.com/pancsta/asyncmachine-go/pkg/history/badger.Memory *github.com/pancsta/asyncmachine-go/pkg/history/bbolt.Memory *github.com/pancsta/asyncmachine-go/pkg/history/gorm.Memory github.com/polarsignals/frostdb.Sync (interface) *github.com/polarsignals/frostdb/index.FileCompaction *github.com/polarsignals/wal/fs.File github.com/polarsignals/wal/types.WritableFile (interface) *go.etcd.io/bbolt.DB *go.uber.org/zap.Logger go.uber.org/zap.Sink (interface) *go.uber.org/zap.SugaredLogger *go.uber.org/zap/zapcore.BufferedWriteSyncer go.uber.org/zap/zapcore.Core (interface) go.uber.org/zap/zapcore.WriteSyncer (interface) *os.File Syncer : github.com/polarsignals/frostdb.Sync
WriteWrapper warp io.Writer support more operate methods. Out io.Writer String get write data string Write bytes data WriteByte data WriteString data Writef data to output *WriteWrapper : github.com/gookit/goutil/comdef.ByteStringWriter *WriteWrapper : github.com/gookit/goutil/comdef.StringWriteStringer *WriteWrapper : github.com/miekg/dns.Writer *WriteWrapper : github.com/quic-go/quic-go/quicvarint.Writer *WriteWrapper : expvar.Var *WriteWrapper : fmt.Stringer *WriteWrapper : gorm.io/gorm/clause.Writer *WriteWrapper : internal/bisect.Writer *WriteWrapper : io.ByteWriter *WriteWrapper : io.StringWriter *WriteWrapper : io.Writer func NewWriteWrapper(w io.Writer) *WriteWrapper func WrapW(w io.Writer) *WriteWrapper
Package-Level Functions (total 17)
DiscardReader anything from the reader
Fprint to writer, will ignore error
Fprintf to writer, will ignore error
Fprintln to writer, will ignore error
MustReadReader read contents from io.Reader, will panic on error
NewIOReader instance by input: string, bytes, io.Reader
NewScanner instance by input data or reader
NewWriteWrapper instance
ReadString read contents from io.Reader, return empty string on error
SafeClose close io.Closer, ignore error
WrapW instance
WriteByte to stdout, will ignore error
WriteBytes to stdout, will ignore error
Writeln string to stdout. will ignore error
WritelnBytes to stdout, will ignore error
WriteString to stdout. will ignore error
WriteStringTo a writer, will ignore error