func main() { var ( engine *xorm.Engine user *User ) engine = SetupDb() //START CODE OMIT engine.Insert(&User{Id: 1, FirstName: "John", LastName: "Doe"}) PrintTable(engine) user = &User{Id: 1} engine.Get(user) user.FirstName = "James" engine.Update(user) PrintTable(engine) engine.Delete(user) PrintTable(engine) //END CODE OMIT }