demo
This commit is contained in:
+2
-2
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user