Fix function name of comment

This commit is contained in:
zaneli 2019-06-24 20:38:13 +09:00
parent 01b6601142
commit beb591e642
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ func (s *DB) Begin() *DB {
return s.BeginTx(context.Background(), &sql.TxOptions{})
}
// BeginTX begins a transaction with options
// BeginTx begins a transaction with options
func (s *DB) BeginTx(ctx context.Context, opts *sql.TxOptions) *DB {
c := s.clone()
if db, ok := c.db.(sqlDb); ok && db != nil {