code: func (e *Entry) GetIndex(key string) int {
  	for i := range e.Values {
  		if e.Values[i].Key == key {
  			return i
  		}
  	}
  	return -1
  }
docs: // GetIndex returns the index of the Value belonging to the given key, or -1 if none is found