1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:00:04 -07:00

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

Add simple description to String method of IsolationLevel struct.

Change-Id: I8bdf829c81d4895b8542a3f21437bed61c6e925d
GitHub-Last-Rev: 7e16d6a93a
GitHub-Pull-Request: golang/go#28560
Reviewed-on: https://go-review.googlesource.com/c/147040
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Vladimir Kovpak 2018-11-02 16:56:42 +00:00 committed by Brad Fitzpatrick
parent f08352bd16
commit d6e204e71f

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: