code: func (c *cluster) nodePositionByID(nodeID string) int {
  	for i, n := range c.nodes {
  		if n.ID == nodeID {
  			return i
  		}
  	}
  	return -1
  }
docs: // nodePositionByID returns the position of the node in slice c.Nodes.