Linked list

Model
type Node struct {
    data int32
    next *Node
}
Iteration through
// node *Node - the first element of llist
for {
      if node==nil{
          break
      }
      //OPERATIONS WITH CURRENT NODE
      node = node.next
}

Golang

Compact If
if stacks = removeFromHighest(stacks); stacks == nil {
            return 0
}