Commit d6e204e7 authored by Vladimir Kovpak's avatar Vladimir Kovpak Committed by Brad Fitzpatrick

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: 7e16d6a93a9560cf3a09413dfc47d0cb04bb2fde
GitHub-Pull-Request: golang/go#28560
Reviewed-on: https://go-review.googlesource.com/c/147040Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f08352bd
......@@ -133,6 +133,7 @@ const (
LevelLinearizable
)
// String returns the name of the transaction isolation level.
func (i IsolationLevel) String() string {
switch i {
case LevelDefault:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment