summaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'stack.go')
-rw-r--r--stack.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/stack.go b/stack.go
index 1b7eb11..3c54937 100644
--- a/stack.go
+++ b/stack.go
@@ -4,8 +4,8 @@ package stack
// Stack contains generic values
type Stack []interface{}
-// NewStack allocates a new Stack
-func NewStack() Stack {
+// New allocates a new Stack
+func New() Stack {
return Stack{}
}