how to open session autoclose flag with xorm.engine
Author: godcongCreated Oct 14, 2019Updated Oct 14, 2019
now i used engine.Where("") to create an autoclose session.
but, the souce looks not very good. does any suggestions for this?
if has some function like:
engine.NewAutoCloseSession()or
session.AutoClose()that is great!
Source: go-xorm/xorm