Ver Fonte

Merge pull request #85 from fclairamb/patch-1

Update README
Christoph Hack há 12 anos atrás
pai
commit
3fb1c36ac0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -63,7 +63,7 @@ func main() {
 	cluster := gocql.NewCluster("192.168.1.1", "192.168.1.2", "192.168.1.3")
 	cluster.Keyspace = "example"
 	cluster.Consistency = gocql.Quorum
-	session := cluster.CreateSession()
+	session, _ := cluster.CreateSession()
 	defer session.Close()
 
 	// insert a tweet