1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:51:44 -07:00

database/sql: add description to String method of IsolationLevel struct.

Add simple description to String method of IsolationLevel struct.
This commit is contained in:
Vladimir Kovpak 2018-11-02 18:18:58 +02:00
parent 5fc4604aa8
commit 7e16d6a93a

View File

@ -133,6 +133,7 @@ const (
LevelLinearizable
)
// String returns the name of the transaction isolation level.
func (i IsolationLevel) String() string {
switch i {
case LevelDefault: