Permalink
Browse files

doc fixes

  • Loading branch information...
1 parent bd78fed commit f42a1502d6d8d84edc560ad43d46259e77876b45 @carloscm committed Dec 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -134,16 +134,16 @@ for {
### Batch
-Batch is a thin interface over Writer which allows to directly write and delete structs in a higher level fashion. Its use is simple, for example:
+Batch is a thin interface over `Writer` which allows to directly write and delete structs in a higher level fashion. Its use is simple, for example:
```Go
mapping := gossie.NewMapping(&Tweet{})
batch := pool.Batch()
-tweet1 = &Tweet{"userid", 10000000000004, "Author Name", "Hey this thing rocks!"}
+tweet := &Tweet{"userid", 10000000000004, "Author Name", "Hey this thing rocks!"}
err := batch.Insert(mapping, tweet).Run()
````
-Use a new Batch() call for every batch of writes you want to perform. Its internal state may keep copies of your data so it is not reusable.
+Use a new `Batch()` call for every batch of writes you want to perform. Its internal state may keep copies of your data so it is not reusable.
# Planned features

0 comments on commit f42a150

Please sign in to comment.