New structure #7
|
@ -40,11 +40,6 @@ func getEngine() (*xorm.Engine, error) {
|
|||
return xorm.NewEngine("sqlite3", path)
|
||||
}
|
||||
|
||||
// GetEngine returns the databse engine
|
||||
func GetEngine() *xorm.Engine {
|
||||
return x
|
||||
}
|
||||
|
||||
func init() {
|
||||
tables = append(tables,
|
||||
new(User),
|
||||
|
|
Loading…
Reference in New Issue
Block a user