This commit is contained in:
hoteas
2017-08-23 16:57:48 +00:00
parent 9f7c2ff992
commit 3621dddf3d
6 changed files with 166 additions and 244 deletions
+2 -2
View File
@@ -50,9 +50,9 @@ func main() {
"index": hotime.Ctr{
"test": func(this *hotime.Context) {
fmt.Println(this.Db.GetTag())
x:=this.Db.Action(func() bool {
x:=this.Db.Action(func(db hotime.HoTimeDB) bool {
this.Db.Insert("user",hotime.Map{"unickname":"dasdas"})
db.Insert("user",hotime.Map{"unickname":"dasdas"})
return false
})