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. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables type CompList func New() *CompList func (cl *CompList) Iter() iter.Seq2[int, string] func (cl *CompList) WriteString(s string) (int, error) 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) Source Files ¶ View all Source files complist.go Click to show internal directories. Click to hide internal directories.