Skip to content

Commit 24b6b84

Browse files
committed
Update name of adapter in code snippet.
1 parent 5ca09d9 commit 24b6b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ import (
2828
)
2929

3030
// Deprecated
31-
type LegacyExecutor interface {
31+
type LegacyAdapter interface {
3232
BindSelect(context.Context, func(sqldb.Scanner) error, string, ...any) error
3333
Execute(context.Context, string, ...any) (uint64, error)
3434
}
3535

3636
// Deprecated
37-
func newLegacyExecutor(handle sqldb.Pool) LegacyExecutor {
37+
func newLegacyAdapter(handle sqldb.Pool) LegacyAdapter {
3838
return &legacyExecutor{handle: sqldb.New(handle)}
3939
}
4040

0 commit comments

Comments
 (0)