algo/go/08_stack/StatckInterface.go
2018-10-09 23:54:01 +08:00

10 lines
127 B
Go

package _8_stack
type Stack interface {
Push(v interface{})
Pop() interface{}
IsEmpty() bool
Top() interface{}
Flush()
}