Closed stefano-ottolenghi closed 1 year ago
Thanks, let me fix that.
Hmmm, that is strange, the deprecated comment is there: https://github.com/neo4j/neo4j-go-driver/blob/0341d94da97a3f3ce2744c26e90c90a095c75ce3/neo4j/driver.go#L30.
Same as NewDriver
: https://github.com/neo4j/neo4j-go-driver/blob/0341d94da97a3f3ce2744c26e90c90a095c75ce3/neo4j/driver.go#L64 🤔
Well, well... Deprecated:
is supposed to be the start of a new paragraph, which requires a blank line beforehand.
And it was missing 🤦
Running the same tool as pkg.go.dev (go install golang.org/x/pkgsite/cmd/pkgsite@latest && pkgsite
) allowed me to confirm the issue.
Turns out there were a few other occurrences of this problem 😓
NewDriver
shows as deprecated, whileDriver
does not.