Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
0bc36a55
Unverified
Commit
0bc36a55
authored
2 years ago
by
Tim Gross
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
deps: remove gophers.dev dependency (#14789)
parent
d0638451
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/go.mod
+0
-1
tools/go.mod
tools/go.sum
+0
-2
tools/go.sum
tools/missing/main.go
+3
-2
tools/missing/main.go
with
3 additions
and
5 deletions
+3
-5
tools/go.mod
+
0
-
1
View file @
0bc36a55
...
@@ -5,7 +5,6 @@ go 1.18
...
@@ -5,7 +5,6 @@ go 1.18
require (
require (
github.com/aws/aws-sdk-go v1.37.26
github.com/aws/aws-sdk-go v1.37.26
github.com/stretchr/testify v1.7.1
github.com/stretchr/testify v1.7.1
gophers.dev/pkgs/ignore v0.3.1
gopkg.in/yaml.v2 v2.2.8
gopkg.in/yaml.v2 v2.2.8
)
)
...
...
This diff is collapsed.
Click to expand it.
tools/go.sum
+
0
-
2
View file @
0bc36a55
...
@@ -22,8 +22,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
...
@@ -22,8 +22,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gophers.dev/pkgs/ignore v0.3.1 h1:MmNywpk5VAxWQ7/Yz9E1NmEEHLTh0hRWLiHENdVy4Ls=
gophers.dev/pkgs/ignore v0.3.1/go.mod h1:HwTn4Fc9oicp2TxFV/8P0CswwfsVQczZvG6ZTy2TRXA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
...
...
This diff is collapsed.
Click to expand it.
tools/missing/main.go
+
3
-
2
View file @
0bc36a55
...
@@ -10,7 +10,6 @@ import (
...
@@ -10,7 +10,6 @@ import (
"sort"
"sort"
"strings"
"strings"
"gophers.dev/pkgs/ignore"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v2"
)
)
...
@@ -42,7 +41,9 @@ func run(args []string) error {
...
@@ -42,7 +41,9 @@ func run(args []string) error {
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
defer
ignore
.
Close
(
f
)
defer
func
()
{
_
=
f
.
Close
()
}()
coverage
,
err
:=
inMatrix
(
f
)
coverage
,
err
:=
inMatrix
(
f
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment