lines

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lines

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

func New

func New(prefix ...string) *Lines

func SliceToLines

func SliceToLines[T fmt.Stringer](slice []T, prefix ...string) *Lines

func (*Lines) Add

func (l *Lines) Add(format string, args ...any) *Lines

func (*Lines) Append

func (l *Lines) Append(ln *Lines) *Lines

func (*Lines) Join

func (l *Lines) Join(sep string) string

func (*Lines) String

func (l *Lines) String() string

Jump to

Keyboard shortcuts

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