package database
import (
_ "github.com/mattn/go-sqlite3"
"xorm.io/xorm"
)
var engine *xorm.Engine
func main() {
var err error
file := "./database.db"
engine, err = xorm.NewEngine("sqlite3", file)
if err != nil {
panic(err)
}