mirror of
https://github.com/cubixle/codekata-golang.git
synced 2026-04-29 15:48:45 +01:00
code kata 230808
This commit is contained in:
@@ -5,8 +5,8 @@ import "errors"
|
||||
type Stack []interface {
|
||||
}
|
||||
|
||||
func NewStack() Stack {
|
||||
return Stack{}
|
||||
func NewStack() *Stack {
|
||||
return &Stack{}
|
||||
}
|
||||
|
||||
func (s Stack) IsEmpty() bool {
|
||||
|
||||
Reference in New Issue
Block a user