Open
Description
This function can not call itself, it will cause an infinite loop.
// Snapshot returns the receiver and allows Snapshot to satisfy the
// ReadTransaction interface.
func (s Snapshot) Options() TransactionOptions {
return s.Options()
}
must be
// Snapshot returns the receiver and allows Snapshot to satisfy the
// ReadTransaction interface.
func (s Snapshot) Options() TransactionOptions {
return TransactionOptions{s.transaction}
}
Metadata
Metadata
Assignees
Labels
No labels