From 7e16d6a93a9560cf3a09413dfc47d0cb04bb2fde Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Fri, 2 Nov 2018 18:18:58 +0200 Subject: [PATCH] database/sql: add description to String method of IsolationLevel struct. Add simple description to String method of IsolationLevel struct. --- 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 31db7a47d6..16f1c9fce8 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: