]> 127.0.0.1 Git - part/.git/commitdiff
47
authorqydysky <qydysky@foxmail.com>
Thu, 13 Aug 2020 10:09:47 +0000 (18:09 +0800)
committerqydysky <qydysky@foxmail.com>
Thu, 13 Aug 2020 10:09:47 +0000 (18:09 +0800)
Json.go
go.mod

diff --git a/Json.go b/Json.go
index 496e7c6a8cf94328eb11f11deb26efe87a261099..41c92cde66664f5248178dd2c1dfbbf3bcbf7c1e 100644 (file)
--- a/Json.go
+++ b/Json.go
@@ -1,7 +1,7 @@
 package part
 
 import (
-       "github.com/thedevsaddam/gojsonq"
+       "github.com/thedevsaddam/gojsonq/v2"
 )
 
 type json struct {}
diff --git a/go.mod b/go.mod
index 2d0e88124ab9027cc1949f9163c59a354c601350..de42bb76ca564ef409404c8e47f6d995ff362e82 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -9,10 +9,10 @@ require (
        github.com/miekg/dns v1.1.31
        github.com/shirou/gopsutil v2.20.7+incompatible
        github.com/thedevsaddam/gojsonq v2.3.0+incompatible
-       //github.com/thedevsaddam/gojsonq/v2 v2.5.2
+       github.com/thedevsaddam/gojsonq/v2 v2.5.2
        golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de // indirect
        golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
        golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed // indirect
 )
 
-replace github.com/thedevsaddam/gojsonq v2.3.0+incompatible => github.com/thedevsaddam/gojsonq/v2 v2.5.2
+//replace github.com/thedevsaddam/gojsonq v2.3.0+incompatible => github.com/thedevsaddam/gojsonq/v2 v2.5.2