aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-10-14 15:29:50 -0600
committerBen Johnson <benbjohnson@yahoo.com>2015-10-14 15:29:50 -0600
commitb05ba12bcbde8a55ce1b55ce50f1a06d8667c18f (patch)
tree57c227acc7bf104cdc3a0d2d3c91813e6141baa6
parentMerge pull request #435 from hqhq/hq_add_arm64 (diff)
parenttypos (diff)
downloaddedo-b05ba12bcbde8a55ce1b55ce50f1a06d8667c18f.tar.gz
dedo-b05ba12bcbde8a55ce1b55ce50f1a06d8667c18f.tar.xz
Merge pull request #437 from shaggytwodope/master
small typos
-rw-r--r--README.md4
-rw-r--r--db_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3c9e465..53dcc40 100644
--- a/README.md
+++ b/README.md
@@ -256,7 +256,7 @@ db.View(func(tx *bolt.Tx) error {
```
The `Get()` function does not return an error because its operation is
-guarenteed to work (unless there is some kind of system failure). If the key
+guaranteed to work (unless there is some kind of system failure). If the key
exists then it will return its byte slice value. If it doesn't exist then it
will return `nil`. It's important to note that you can have a zero-length value
set to a key which is different than the key not existing.
@@ -615,7 +615,7 @@ Below is a list of public, open source projects that use Bolt:
* [Freehold](http://tshannon.bitbucket.org/freehold/) - An open, secure, and lightweight platform for your files and data.
* [Prometheus Annotation Server](https://github.com/oliver006/prom_annotation_server) - Annotation server for PromDash & Prometheus service monitoring system.
* [Consul](https://github.com/hashicorp/consul) - Consul is service discovery and configuration made easy. Distributed, highly available, and datacenter-aware.
-* [Kala](https://github.com/ajvb/kala) - Kala is a modern job scheduler optimized to run on a single node. It is persistant, JSON over HTTP API, ISO 8601 duration notation, and dependent jobs.
+* [Kala](https://github.com/ajvb/kala) - Kala is a modern job scheduler optimized to run on a single node. It is persistent, JSON over HTTP API, ISO 8601 duration notation, and dependent jobs.
* [drive](https://github.com/odeke-em/drive) - drive is an unofficial Google Drive command line client for \*NIX operating systems.
* [stow](https://github.com/djherbis/stow) - a persistence manager for objects
backed by boltdb.
diff --git a/db_test.go b/db_test.go
index ae21938..1f37f9b 100644
--- a/db_test.go
+++ b/db_test.go
@@ -622,7 +622,7 @@ func TestDB_Consistency(t *testing.T) {
})
}
-// Ensure that DB stats can be substracted from one another.
+// Ensure that DB stats can be subtracted from one another.
func TestDBStats_Sub(t *testing.T) {
var a, b bolt.Stats
a.TxStats.PageCount = 3