Create a new stack
()
| 21 | |
| 22 | // Create a new stack |
| 23 | func NewStack() *Stack { |
| 24 | return &Stack{nil, 0, sync.RWMutex{}} |
| 25 | } |
| 26 | |
| 27 | // Return the number of items in the stack |
| 28 | func (this *Stack) Len() int { |
no outgoing calls
no test coverage detected