Skip to content

Commit

Permalink
Sync upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Jul 21, 2018
2 parents 7ab2a7f + c4c6165 commit 9168d88
Show file tree
Hide file tree
Showing 51 changed files with 1,898 additions and 803 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
language: go
sudo: false
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- tip

script:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ Installation
Requirements
-----------

* Need at least `go1.4` or newer.
* Need at least `go1.5` or newer.

Usage
-----------

Create or open a database:
```go
// The returned DB instance is safe for concurrent use. Which mean that all
// DB's methods may be called concurrently from multiple goroutine.
db, err := leveldb.OpenFile("path/to/db", nil)
...
defer db.Close()
Expand Down
Loading

0 comments on commit 9168d88

Please sign in to comment.