Skip to content

Commit 9033a45

Browse files
王哈哈王哈哈
authored andcommitted
update
1 parent 7bd431e commit 9033a45

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

asyncTask.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"encoding/json"
66
"fmt"
7-
"reflect"
87
"strings"
98
"time"
109

@@ -84,7 +83,6 @@ func (t *Task) takeNormalTask(list string) (map[string]interface{}, error) {
8483
if err != nil {
8584
return nil, err
8685
}
87-
fmt.Println("result:", result, reflect.TypeOf(result[1]))
8886

8987
data := make(Map)
9088
err = json.Unmarshal([]byte(result[1]), &data)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ go 1.17
55
require (
66
github.com/go-redis/redis/v8 v8.11.5
77
github.com/nacos-group/nacos-sdk-go v1.1.2
8+
github.com/tidwall/gjson v1.14.3
89
)
910

1011
require (
1112
github.com/cespare/xxhash/v2 v2.1.2 // indirect
1213
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
13-
github.com/tidwall/gjson v1.14.3 // indirect
1414
github.com/tidwall/match v1.1.1 // indirect
1515
github.com/tidwall/pretty v1.2.0 // indirect
1616
)

0 commit comments

Comments
 (0)