Explorar el Código

Merge pull request #85 from fclairamb/patch-1

Update README
Christoph Hack hace 12 años
padre
commit
3fb1c36ac0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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