johnnadratowski / golang-neo4j-bolt-driver

Golang Bolt driver for Neo4j
MIT License
213 stars 72 forks source link

Two identical conditions in the conn.Close() method #29

Closed georgysavva closed 7 years ago

georgysavva commented 7 years ago

Why there are two identical c.transaction != nil conditions ? https://github.com/johnnadratowski/golang-neo4j-bolt-driver/blob/master/conn.go#L359-L375