Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocator

type Allocator interface {

	// Allocate allocates a string
	Allocate() string

	// Release releases a string
	Release(item string)
}

    Allocator is an allocator interface

    func New

    func New(start, size int) Allocator

      New provides a new allocator