Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Testing #39

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Testing #39

wants to merge 7 commits into from

Conversation

golangci
Copy link
Collaborator

No description provided.

func BadFunc() {
if true {
return
} else {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if block ends with a return statement, so drop this else and outdent its block

@@ -45,6 +45,14 @@ var testPR = &gh.PullRequest{
}
var testAnalysisGUID = "test-guid"

func BadFunc() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File is not goimports-ed

func BadFunc2() {
if false {
return
} else {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if block ends with a return statement, so drop this else and outdent its block

}
}

func BadFunc2() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func BadFunc2 is unused

@jirfag jirfag force-pushed the master branch 2 times, most recently from e557432 to 93bb034 Compare November 7, 2018 07:53
@jirfag jirfag force-pushed the master branch 4 times, most recently from 9d4340e to 15c38dd Compare November 25, 2018 06:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants