// Del deletes a key and its value(s) from the data set.
Del deletes a key and its value(s) from the data set.
// Del deletes a key and its value ( s ) from the data set .
func (v *Values) Del(key string) {
	if v.keyIndex[key] != 0 {
		n := v.keyIndex[key]
		for i := 0; i < n; i++ {
			v.values.Del(fmt.Sprintf("%s.%d", key, i))
			v.keyIndex[key]--
		}
		v.keyIndex[key] = 0
		return
	}
	v.values.Del(key)
	v.keyIndex[key]--
}
func ( v * Values ) Del ( key string ) { if v . keyIndex [ key ] != 0 { n := v . keyIndex [ key ] for i := 0 ; i < n ; i ++ { v . values . Del ( fmt . Sprintf ( " " , key , i ) ) v . keyIndex [ key ] -- } v . keyIndex [ key ] = 0 return } v . values . Del ( key ) v . keyIndex [ key ] -- }
Del deletes a key and its value(s) from the data set.
Del deletes a key and its value ( s ) from the data set .
// delete all key.0, key.1, etc