txn.go
func (txn *Txn) Delete(key []byte) error {
	e := &Entry{
		Key:  key,
		meta: bitDelete,
	}
	return txn.modify(e)
}
func (txn *Txn) Delete(key []byte) error {
	e := &Entry{
		Key:  key,
		meta: bitDelete,
	}
	return txn.modify(e)
}
func ( txn * Txn ) Delete ( key [ ] byte ) error { e := & Entry { Key : key , meta : bitDelete , } return txn . modify ( e ) }
// Delete deletes a key.
//
// This is done by adding a delete marker for the key at commit timestamp.  Any
// reads happening before this timestamp would be unaffected. Any reads after
// this commit would see the deletion.
//
// The current transaction keeps a reference to the key byte slice argument.
// Users must not modify the key until the end of the transaction.
Delete deletes a key . This is done by adding a delete marker for the key at commit timestamp . Any reads happening before this timestamp would be unaffected . Any reads after this commit would see the deletion . The current transaction keeps a reference to the key byte slice argument . Users must not modify the key until the end of the transaction .