str2strings

package
v0.0.0-...-5eadeef Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBlob error = errors.New("invalid blob")
)

Functions

func SmallerToAnyNew

func SmallerToAnyNew(bytes2str bool) func([]byte) any

Types

type BlobStr

type BlobStr []byte

type SmallerBlobStr

type SmallerBlobStr []byte

type StringToStrings

type StringToStrings func(BlobStr) IO[iter.Seq[SmallerBlobStr]]

func BlobToSmallerByScanner

func BlobToSmallerByScanner() StringToStrings

func (StringToStrings) AnyToSmallerBlobs

func (s StringToStrings) AnyToSmallerBlobs(
	original any,
) IO[iter.Seq[SmallerBlobStr]]

func (StringToStrings) MapsToFlatMaps

func (s StringToStrings) MapsToFlatMaps(
	original iter.Seq2[map[string]any, error],
	blobKey string,
	bytes2str bool,
) IO[iter.Seq2[map[string]any, error]]

func (StringToStrings) MapsToFlatMapsDefault

func (s StringToStrings) MapsToFlatMapsDefault(
	original iter.Seq2[map[string]any, error],
	blobKey string,
) IO[iter.Seq2[map[string]any, error]]

Jump to

Keyboard shortcuts

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