Skip to content

Commit

Permalink
Merge pull request #17 from avesanen/avesanen-readmepatch
Browse files Browse the repository at this point in the history
Fix README.md example error
  • Loading branch information
solher authored Jan 23, 2017
2 parents 5ed6854 + fa1be88 commit f986ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
LoggerOptions(false, false, false).
Connect("http://localhost:8000", "_system", "root", "rootPassword")

_, _ := db.Run(&arangolite.CreateDatabase{
_, _ = db.Run(&arangolite.CreateDatabase{
Name: "testDB",
Users: []map[string]interface{}{
{"username": "root", "passwd": "rootPassword"},
Expand All @@ -43,7 +43,7 @@ func main() {

db.SwitchDatabase("testDB").SwitchUser("user", "password")

_, _ := db.Run(&arangolite.CreateCollection{Name: "nodes"})
_, _ = db.Run(&arangolite.CreateCollection{Name: "nodes"})

key := "48765564346"

Expand Down

0 comments on commit f986ff3

Please sign in to comment.