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