Skip to content

Commit 0ecec44

Browse files
committed
Import "log" for the example
Since the example is using `log.Fatalln(err.Error())`, it should import `log` too.
1 parent a124c96 commit 0ecec44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Setting up a basic connection with RethinkDB is simple:
3434
```go
3535
import (
3636
r "github.com/dancannon/gorethink"
37+
"log"
3738
)
3839

3940
var session *r.Session

0 commit comments

Comments
 (0)