From: Vladimir Kovpak Date: Fri, 2 Nov 2018 16:56:42 +0000 (+0000) Subject: database/sql: add description to String method of IsolationLevel struct. X-Git-Tag: go1.12beta1~525 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d6e204e71ff68b69af30b8ff0a0026bca1cbee10;p=gostls13.git 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 --- 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: