mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
fix typo
This commit is contained in:
@@ -6,7 +6,7 @@ type Database struct {
|
||||
*xorm.EngineGroup
|
||||
}
|
||||
|
||||
func (db *Database) DoTranscation(fn func(sess *xorm.Session) error) (err error) {
|
||||
func (db *Database) DoTransaction(fn func(sess *xorm.Session) error) (err error) {
|
||||
sess := db.NewSession()
|
||||
defer sess.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user