Skip to content

Commit

Permalink
Fix function name of comment (go-gorm#2522)
Browse files Browse the repository at this point in the history
Fix function name of comment
  • Loading branch information
emirb authored Jun 25, 2019
2 parents 01b6601 + beb591e commit a6b790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a6b790f

Please sign in to comment.