mirror of
https://github.com/golang/go
synced 2024-11-23 06:20:07 -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:
parent
f08352bd16
commit
d6e204e71f
@ -133,6 +133,7 @@ const (
|
||||
LevelLinearizable
|
||||
)
|
||||
|
||||
// String returns the name of the transaction isolation level.
|
||||
func (i IsolationLevel) String() string {
|
||||
switch i {
|
||||
case LevelDefault:
|
||||
|
Loading…
Reference in New Issue
Block a user