Skip to content

Commit c2912c5

Browse files
committed
升级
1 parent 5ff9e53 commit c2912c5

File tree

13 files changed

+36
-116
lines changed

13 files changed

+36
-116
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
module github.com/masx200/leetcode-test/abbreviating-the-product-of-a-range
22

3-
go 1.19
3+
go 1.19
44

5-
require (
6-
github.com/datreeio/datree v1.6.28
7-
gotest.tools/v3 v3.3.0
8-
)
5+
require (
6+
github.com/datreeio/datree v1.6.28
7+
gotest.tools/v3 v3.3.0
8+
)
99

10-
require (
11-
github.com/go-ole/go-ole v1.2.6 // indirect
12-
github.com/google/go-cmp v0.5.7 // indirect
13-
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
14-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
15-
github.com/shirou/gopsutil/v3 v3.22.2 // indirect
16-
github.com/tklauser/go-sysconf v0.3.9 // indirect
17-
github.com/tklauser/numcpus v0.3.0 // indirect
18-
github.com/yusufpapurcu/wmi v1.2.2 // indirect
19-
golang.org/x/sys v0.0.0-20220712014510-0a85c31ab51e // indirect
20-
)
10+
require (
11+
github.com/go-ole/go-ole v1.2.6 // indirect
12+
github.com/google/go-cmp v0.5.7 // indirect
13+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
14+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
15+
github.com/shirou/gopsutil/v3 v3.22.2 // indirect
16+
github.com/tklauser/go-sysconf v0.3.9 // indirect
17+
github.com/tklauser/numcpus v0.3.0 // indirect
18+
github.com/yusufpapurcu/wmi v1.2.2 // indirect
19+
golang.org/x/sys v0.0.0-20220712014510-0a85c31ab51e // indirect
20+
)

count-complete-tree-nodes/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
2-
github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree v0.0.0-20220825072430-380d3e0e30a2 h1:33VEOTS2x7yTFGGRWFVfNVyfgHgMKp3J44Cm40gv0WU=
3-
github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree v0.0.0-20220825072430-380d3e0e30a2/go.mod h1:WERZIbs/GoCIGQMt6FbOuDZBOkCi2oQlWFF88WfmKYI=
42
github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree v0.0.0-20220906144335-3503ebe76485 h1:punpL7/3LN8fDFG5aRBnlGxyrfwWkngw9exLPtW7lzM=
53
github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree v0.0.0-20220906144335-3503ebe76485/go.mod h1:WERZIbs/GoCIGQMt6FbOuDZBOkCi2oQlWFF88WfmKYI=
64
gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo=

deepest-leaves-sum/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ require (
1010
)
1111

1212
require (
13-
gitee.com/masx200/TreeNode v1.0.4 // indirect
13+
github.com/masx200/leetcode-TreeNode-go v1.0.5 // indirect
1414
github.com/google/go-cmp v0.5.8 // indirect
1515
)

deepest-leaves-sum/go.sum

Lines changed: 0 additions & 35 deletions
This file was deleted.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
require github.com/akrennmair/slice v0.0.0-20220105203817-49445747ab81
1212

1313
require (
14-
gitee.com/masx200/TreeNode v1.0.4 // indirect
14+
github.com/masx200/leetcode-TreeNode-go v1.0.5 // indirect
1515
github.com/davecgh/go-spew v1.1.1 // indirect
1616
github.com/pmezard/go-difflib v1.0.0 // indirect
1717
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

Lines changed: 0 additions & 48 deletions
This file was deleted.

go.work.sum

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
github.com/akrennmair/slice v0.0.0-20220105203817-49445747ab81/go.mod h1:jk5mJ+KFznfxbCEsOPgmJkozvBfVGeaqIMs31NhXlv0=
12
github.com/masx200/leetcode-test/maximum-binary-tree-ii v0.0.0-20221013013845-c54bd13d5663/go.mod h1:oqX+13lMG74G7HX+HUgf27bUSAzLGFsVwFnhblx7MOA=
23
github.com/masx200/leetcode-test/utils v0.0.0-20220825072430-380d3e0e30a2/go.mod h1:GHVmjGgidkD2HbnEwJFVT+H67tvNRV/qHqjmINz/dHo=
3-
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=
4-
golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=
5-
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
6-
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
4+
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
5+
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
6+
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
7+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

maximum-binary-tree/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ require (
1010
)
1111

1212
require (
13-
gitee.com/masx200/TreeNode v1.0.4 // indirect
13+
github.com/masx200/leetcode-TreeNode-go v1.0.5 // indirect
1414
github.com/masx200/leetcode-test/utils v0.0.0-20220825072430-380d3e0e30a2
1515
)

maximum-binary-tree/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
gitee.com/masx200/TreeNode v1.0.4 h1:Ma0LsBGnQTbZlI/WrVqLSvguiQd5vaEXl4BijurgZ4I=
2-
gitee.com/masx200/TreeNode v1.0.4/go.mod h1:1cHaqhNwfj+g0xDOCGP9+Biy4Nq67D6BRq7kUowkAk4=
1+
github.com/masx200/leetcode-TreeNode-go v1.0.5 h1:Ma0LsBGnQTbZlI/WrVqLSvguiQd5vaEXl4BijurgZ4I=
2+
github.com/masx200/leetcode-TreeNode-goe-TreeNode-go v1.0.5/go.mod h1:1cHaqhNwfj+g0xDOCGP9+Biy4Nq67D6BRq7kUowkAk4=
33
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
44
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
55
github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo=

utils/TreeNodeLeetCodeParse.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package utils
22

3-
import treenode "gitee.com/masx200/TreeNode"
4-
import serialize_and_deserialize_binary_tree "github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree"
3+
import (
4+
treenode "github.com/masx200/leetcode-TreeNode-go"
5+
serialize_and_deserialize_binary_tree "github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree"
6+
)
57

68
type TreeNode = serialize_and_deserialize_binary_tree.TreeNode
79

0 commit comments

Comments
 (0)