From d6e204e71ff68b69af30b8ff0a0026bca1cbee10 Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Fri, 2 Nov 2018 16:56:42 +0000 Subject: [PATCH] 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/147040 Reviewed-by: Brad Fitzpatrick --- src/database/sql/sql.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 31db7a47d6d..16f1c9fce82 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -133,6 +133,7 @@ const ( LevelLinearizable ) +// String returns the name of the transaction isolation level. func (i IsolationLevel) String() string { switch i { case LevelDefault: