mirror of
https://github.com/golang/go
synced 2024-11-26 21:51:44 -07:00
database/sql: add description to String method of IsolationLevel struct.
Add simple description to String method of IsolationLevel struct.
This commit is contained in:
parent
5fc4604aa8
commit
7e16d6a93a
@ -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