Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstNonBlank ¶
FirstNonBlank returns first non-empty string from given args.
func Intersect ¶
func Intersect[K comparable](a, b []K) bool
Intersect returns true if values of two slices have at least one similar value.
Types ¶
type CachedReader ¶
type CachedReader struct {
// contains filtered or unexported fields
}
CachedReader reads from the provided `io.Reader` until `io.EOF` and saves the read content into the inner buffer.
After `io.EOF` it will be providing the read data again and again.
func NewCachedReader ¶
func NewCachedReader(in io.Reader) *CachedReader
Click to show internal directories.
Click to hide internal directories.