Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
678a70e3
Commit
678a70e3
authored
Dec 16, 2010
by
Christopher Wedgwood
Committed by
Rob Pike
Dec 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
govet: fix comment
R=r, r2 CC=golang-dev
https://golang.org/cl/3712041
parent
fd021cbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
govet.go
src/cmd/govet/govet.go
+1
-1
No files found.
src/cmd/govet/govet.go
View file @
678a70e3
...
...
@@ -312,7 +312,7 @@ func (f *File) checkPrint(call *ast.CallExpr, name string, skip int) {
}
// This function never executes, but it serves as a simple test for the program.
// Test with govet -
-
funcs="Bad:1,Badf:1,Warn:1,Warnf:1" govet.go
// Test with govet -
print
funcs="Bad:1,Badf:1,Warn:1,Warnf:1" govet.go
func
BadFunctionUsedInTests
()
{
fmt
.
Println
()
// niladic call
fmt
.
Println
(
"%s"
,
"hi"
)
// % in call to Println
...
...
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