update
This commit is contained in:
+3
-1
@@ -15,6 +15,8 @@ import (
|
|||||||
|
|
||||||
type JsReply string
|
type JsReply string
|
||||||
|
|
||||||
|
var o = NewBucket("otto")
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
@@ -30,7 +32,7 @@ func init123() {
|
|||||||
logs.Warn("打开文件夹%s错误,%v", ExecPath+"/develop/replies", err)
|
logs.Warn("打开文件夹%s错误,%v", ExecPath+"/develop/replies", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var o = NewBucket("otto")
|
|
||||||
get := func(call otto.FunctionCall) (result otto.Value) {
|
get := func(call otto.FunctionCall) (result otto.Value) {
|
||||||
key := call.Argument(0).String()
|
key := call.Argument(0).String()
|
||||||
value := call.Argument(1).String()
|
value := call.Argument(1).String()
|
||||||
|
|||||||
Reference in New Issue
Block a user