How would you do it in golang: Stacks