complist

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

complist is a container for a list of strings that are compressed in memory by
gzip.  It implements the new Go rangefunc interface.  This is exercise code
that is not fit for use in production.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFlushed = errors.New("already flushed")
)

Functions

This section is empty.

Types

type CompList

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

func New

func New() *CompList

func (*CompList) Iter

func (cl *CompList) Iter() iter.Seq2[int, string]

func (*CompList) WriteString

func (cl *CompList) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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