mirror of
https://github.com/tursom/GoCollections.git
synced 2025-02-26 20:20:31 +08:00
11 lines
198 B
Go
11 lines
198 B
Go
package collections
|
|
|
|
import "github.com/tursom/GoCollections/exceptions"
|
|
|
|
type Stack[T any] interface {
|
|
MutableIterable[T]
|
|
|
|
Push(element T) exceptions.Exception
|
|
Pop() (T, exceptions.Exception)
|
|
}
|