aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/internal/types.go
blob: 1895144cb22ee72f01a253f0984a05349a0f10fd (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package internal

// Context keys that set transaction properties for sql.BeginContext.
type (
	IsolationLevelKey struct{} // context value is driver.IsolationLevel
	ReadOnlyKey       struct{} // context value is bool
)