func (tx *Tx) Get(v *Var) interface{} {
	// If we previously wrote to v, it will be in the write log.
	if val, ok := tx.writes[v]; ok {
		return val
	}
	state := v.loadState()
	// If we haven't previously read v, record its version
	if _, ok := tx.reads[v]; !ok {
		tx.reads[v] = state.version
	}
	return state.val
}
// Get returns the value of v as of the start of the transaction.
Get returns the value of v as of the start of the transaction.
// Get returns the value of v as of the start of the transaction .
func (tx *Tx) Get(v *Var) interface{} {
	if val, ok := tx.writes[v]; ok {
		return val
	}
	state := v.loadState()
	if _, ok := tx.reads[v]; !ok {
		tx.reads[v] = state.version
	}
	return state.val
}
func ( tx * Tx ) Get ( v * Var ) interface { } { if val , ok := tx . writes [ v ] ; ok { return val } state := v . loadState ( ) if _ , ok := tx . reads [ v ] ; ! ok { tx . reads [ v ] = state . version } return state . val }
Get returns the value of v as of the start of the transaction.
Get returns the value of v as of the start of the transaction .
// If we previously wrote to v, it will be in the write log. // If we haven't previously read v, record its version