• Russ Cox's avatar
    database/sql/driver: rename ResetSessioner to SessionResetter · 442d15ab
    Russ Cox authored
    Originally we tried the strict -er suffix as the rule in this case
    but eventually we decided it was too awkward: io.WriteByter
    became io.ByteWriter. By analogy, here the interface should be
    named SessionResetter instead of the awkward ResetSessioner.
    
    This change should not affect any drivers that have already
    implemented the interface, because the method name is not changing.
    
    (This was added during the Go 1.10 cycle and has not been
    released yet, so we can change it.)
    
    Change-Id: Ie50e4e090d3811f85965da9da37d966e9f45e79d
    Reviewed-on: https://go-review.googlesource.com/78127
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: default avatarDaniel Theophanes <kardianos@gmail.com>
    442d15ab
sql.go 83.5 KB