@ -56,7 +56,7 @@ func (d *Db) Add(i Item) (int, bool) {
return i.Id, true
}
func (d *Db) Update(id int, persist bool, f func(*Item)) error {
func (d *Db) Transact(id int, persist bool, f func(*Item)) error {
d.mutex.Lock()
defer d.mutex.Unlock()
for i, _ := range d.items {
The note is not visible to the blocked user.