Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack interface { // Push a data into stack Push(v interface{}) // Pop last data Pop() (interface{}, bool) // PopMany pop many of data PopMany(count int64) ([]interface{}, bool) // PopAll pop all data PopAll() ([]interface{}, bool) // Peek last data Peek() (interface{}, bool) // Length get length of stack Length() int64 // IsEmpty judge stack's length if 0 IsEmpty() bool }
Stack functions for manager datas in stack
Click to show internal directories.
Click to hide internal directories.