Skip to content

Commit

Permalink
Fix README.md example error
Browse files Browse the repository at this point in the history
Fix the "no new variables on left side of :=" error in the first example.
  • Loading branch information
avesanen authored Jan 2, 2017
1 parent 5ed6854 commit fa1be88
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 fa1be88

Please sign in to comment.