Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
d844aae6
Commit
d844aae6
authored
Mar 29, 2011
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prints: fix a couple of formatting errors caught by govet
R=rsc, agl, agl1 CC=golang-dev
https://golang.org/cl/4337041
parent
fb80f63c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/cmd/gofix/fix.go
src/cmd/gofix/fix.go
+1
-1
src/pkg/crypto/ecdsa/ecdsa_test.go
src/pkg/crypto/ecdsa/ecdsa_test.go
+1
-1
No files found.
src/cmd/gofix/fix.go
View file @
d844aae6
...
...
@@ -39,7 +39,7 @@ func rewrite(x interface{}, visit func(interface{})) {
// everything else just recurses
default
:
panic
(
fmt
.
Errorf
(
"unexpected type %T in walk"
,
x
,
visit
))
panic
(
fmt
.
Errorf
(
"unexpected type %T in walk"
,
x
))
case
nil
:
...
...
src/pkg/crypto/ecdsa/ecdsa_test.go
View file @
d844aae6
...
...
@@ -20,7 +20,7 @@ func testKeyGeneration(t *testing.T, c *elliptic.Curve, tag string) {
return
}
if
!
c
.
IsOnCurve
(
priv
.
PublicKey
.
X
,
priv
.
PublicKey
.
Y
)
{
t
.
Errorf
(
"%s: public key invalid"
,
tag
,
err
)
t
.
Errorf
(
"%s: public key invalid
: %s
"
,
tag
,
err
)
}
}
...
...
Write
Preview
Markdown
is supported
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