From 9e17be494b9e505e7a2fb28ade83d19e744b40a6 Mon Sep 17 00:00:00 2001 From: 0x2d3c Date: Sun, 20 Feb 2022 18:30:17 +0800 Subject: [PATCH] fix typo in TxCommitter interface comment --- interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces.go b/interfaces.go index ff0ca60a..44a85cb5 100644 --- a/interfaces.go +++ b/interfaces.go @@ -50,7 +50,7 @@ type ConnPoolBeginner interface { BeginTx(ctx context.Context, opts *sql.TxOptions) (ConnPool, error) } -// TxCommitter tx commiter +// TxCommitter tx committer type TxCommitter interface { Commit() error Rollback() error