Documentation
¶
Index ¶
- Variables
- func MakeDelimReaderConsumeEmpty(delim byte, rffs interfaces.FuncSetString) io.ReaderFrom
- func MakeFormatString(f string, vs ...interface{}) interfaces.FuncWriter
- func MakeFormatStringRightAligned(f string, args ...any) interfaces.FuncWriter
- func MakeFormatStringer[T interfaces.ValueLike](sf interfaces.FuncString[interfaces.SetLike[T]]) interfaces.FuncWriterFormat[interfaces.SetLike[T]]
- func MakeLineReaderConsumeEmpty(rffs interfaces.FuncSetString) io.ReaderFrom
- func MakeLineReaderPassThruEmpty(rffs interfaces.FuncSetString) io.ReaderFrom
- func MakeReaderFrom[T any](rf interfaces.FuncReaderFormat[T], e *T) io.ReaderFrom
- func MakeReaderFromInterface[T any](rf interfaces.FuncReaderFormatInterface[T], e T) io.ReaderFrom
- func MakeStringer(v fmt.Stringer) interfaces.FuncWriter
- func MakeWriter[T any](wff interfaces.FuncWriterFormat[T], e T) interfaces.FuncWriter
- func MakeWriterOr[A interfaces.Stringer, B interfaces.Stringer](wffA interfaces.FuncWriterFormat[A], eA A, wffB interfaces.FuncWriterFormat[B], ...) interfaces.FuncWriter
- func MakeWriterPtr[T any](wff interfaces.FuncWriterFormat[*T], e *T) interfaces.FuncWriter
- func MakeWriterTo2[T any](wf interfaces.FuncWriterElement[T], e *T) *writerTo[T]
- func MakeWriterToInterface[T any](wf interfaces.FuncWriterElementInterface[T], e T) writerToInterface[T]
- func ReadLines(r1 io.Reader, rffs interfaces.FuncSetString) (n int64, err error)
- func ReadSep(delim byte, r1 io.Reader, rffs interfaces.FuncSetString) (n int64, err error)
- func Write(w io.Writer, wffs ...interfaces.FuncWriter) (n int64, err error)
- type LineWriter
- func (w *LineWriter) WriteEmpty()
- func (w *LineWriter) WriteExactlyOneEmpty()
- func (w *LineWriter) WriteFormat(f string, values ...interface{})
- func (w *LineWriter) WriteFormats(f string, values ...interface{})
- func (w *LineWriter) WriteKeySpaceValue(key, value interface{})
- func (w *LineWriter) WriteLines(ls ...string)
- func (w *LineWriter) WriteStringers(ss ...fmt.Stringer)
- func (w *LineWriter) WriteTo(out io.Writer) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MakeLineWriter = NewLineWriter
Functions ¶
func MakeDelimReaderConsumeEmpty ¶
func MakeDelimReaderConsumeEmpty( delim byte, rffs interfaces.FuncSetString, ) io.ReaderFrom
func MakeFormatString ¶
func MakeFormatString( f string, vs ...interface{}, ) interfaces.FuncWriter
func MakeFormatStringRightAligned ¶
func MakeFormatStringRightAligned( f string, args ...any, ) interfaces.FuncWriter
func MakeFormatStringer ¶
func MakeFormatStringer[T interfaces.ValueLike]( sf interfaces.FuncString[interfaces.SetLike[T]], ) interfaces.FuncWriterFormat[interfaces.SetLike[T]]
func MakeLineReaderConsumeEmpty ¶
func MakeLineReaderConsumeEmpty( rffs interfaces.FuncSetString, ) io.ReaderFrom
func MakeLineReaderPassThruEmpty ¶
func MakeLineReaderPassThruEmpty( rffs interfaces.FuncSetString, ) io.ReaderFrom
func MakeReaderFrom ¶
func MakeReaderFrom[T any]( rf interfaces.FuncReaderFormat[T], e *T, ) io.ReaderFrom
func MakeReaderFromInterface ¶
func MakeReaderFromInterface[T any]( rf interfaces.FuncReaderFormatInterface[T], e T, ) io.ReaderFrom
func MakeStringer ¶
func MakeStringer( v fmt.Stringer, ) interfaces.FuncWriter
func MakeWriter ¶
func MakeWriter[T any]( wff interfaces.FuncWriterFormat[T], e T, ) interfaces.FuncWriter
func MakeWriterOr ¶
func MakeWriterOr[A interfaces.Stringer, B interfaces.Stringer]( wffA interfaces.FuncWriterFormat[A], eA A, wffB interfaces.FuncWriterFormat[B], eB B, ) interfaces.FuncWriter
func MakeWriterPtr ¶
func MakeWriterPtr[T any]( wff interfaces.FuncWriterFormat[*T], e *T, ) interfaces.FuncWriter
func MakeWriterTo2 ¶
func MakeWriterTo2[T any]( wf interfaces.FuncWriterElement[T], e *T, ) *writerTo[T]
func MakeWriterToInterface ¶
func MakeWriterToInterface[T any]( wf interfaces.FuncWriterElementInterface[T], e T, ) writerToInterface[T]
func ReadLines ¶
func ReadLines( r1 io.Reader, rffs interfaces.FuncSetString, ) (n int64, err error)
func ReadSep ¶
func ReadSep( delim byte, r1 io.Reader, rffs interfaces.FuncSetString, ) (n int64, err error)
func Write ¶
func Write( w io.Writer, wffs ...interfaces.FuncWriter, ) (n int64, err error)
Types ¶
type LineWriter ¶
type LineWriter struct {
// contains filtered or unexported fields
}
func NewLineWriter ¶
func NewLineWriter() *LineWriter
func (*LineWriter) WriteEmpty ¶
func (w *LineWriter) WriteEmpty()
func (*LineWriter) WriteExactlyOneEmpty ¶
func (w *LineWriter) WriteExactlyOneEmpty()
func (*LineWriter) WriteFormat ¶
func (w *LineWriter) WriteFormat(f string, values ...interface{})
func (*LineWriter) WriteFormats ¶
func (w *LineWriter) WriteFormats(f string, values ...interface{})
func (*LineWriter) WriteKeySpaceValue ¶
func (w *LineWriter) WriteKeySpaceValue(key, value interface{})
func (*LineWriter) WriteLines ¶
func (w *LineWriter) WriteLines(ls ...string)
func (*LineWriter) WriteStringers ¶
func (w *LineWriter) WriteStringers(ss ...fmt.Stringer)
Click to show internal directories.
Click to hide internal directories.