Versions in this module Expand all Collapse all v1 v1.1.1 Nov 24, 2017 Changes in this version + type Stack struct + func NewStack() *Stack + func NewStackWithCapacity(cap int) *Stack + func (s *Stack) Pop() (elem interface{}) + func (s *Stack) Push(elem ...interface{}) + func (s *Stack) Size() int + func (s *Stack) Top() (elem interface{})