Documentation ¶ Index ¶ type Buffer func New(length int) *Buffer func (b *Buffer) Add(str string) func (b *Buffer) Empty() bool func (b *Buffer) Full() bool func (b *Buffer) Get(index int) string func (b *Buffer) Join(sep string, limit int) string func (b *Buffer) Pop(num int) func (b *Buffer) Shift(num int) func (b *Buffer) Size() int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Buffer ¶ type Buffer struct { // contains filtered or unexported fields } func New ¶ func New(length int) *Buffer func (*Buffer) Add ¶ func (b *Buffer) Add(str string) func (*Buffer) Empty ¶ func (b *Buffer) Empty() bool func (*Buffer) Full ¶ func (b *Buffer) Full() bool func (*Buffer) Get ¶ func (b *Buffer) Get(index int) string func (*Buffer) Join ¶ func (b *Buffer) Join(sep string, limit int) string func (*Buffer) Pop ¶ func (b *Buffer) Pop(num int) func (*Buffer) Shift ¶ func (b *Buffer) Shift(num int) func (*Buffer) Size ¶ func (b *Buffer) Size() int Source Files ¶ View all Source files buffer.go Click to show internal directories. Click to hide internal directories.