From 82181156c6c916f8e3247d768faf347370d32dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Sat, 28 Oct 2017 23:17:16 +0300 Subject: [PATCH] Fixing indentation in Stack --- server/server/stack.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/server/stack.go b/server/server/stack.go index 13c20ed..1d0606a 100644 --- a/server/server/stack.go +++ b/server/server/stack.go @@ -39,14 +39,12 @@ func (st *StringStack) Push(item interface{}) { } value, ok := item.(string) - if ok == false { panic(StackInvalidTypeError) } st.items[st.index] = value st.index++ - } func (st *StringStack) Pop() interface{} {