Fixing indentation in Stack

This commit is contained in:
Denis-Cosmin Nutiu 2017-10-28 23:17:16 +03:00
parent 7f447978a2
commit 82181156c6

View file

@ -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{} {