Skip to content

test auto code review #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

test auto code review #6

wants to merge 3 commits into from

Conversation

Ardiannn08
Copy link
Owner

No description provided.

// sample 4
//
// missing error check
unecessaryNewLine()

Choose a reason for hiding this comment

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

🚫 [golangci-autoreview] reported by reviewdog 🐶
Error return value is not checked (errcheck)

//
// missing error check
unecessaryNewLine()

Choose a reason for hiding this comment

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

🚫 [golangci-autoreview] reported by reviewdog 🐶
unnecessary trailing newline (whitespace)

fmt.Print("this function is unused / deadcodes")
}

func unecessaryNewLine() error {

Choose a reason for hiding this comment

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

🚫 [golangci-autoreview] reported by reviewdog 🐶
unnecessary leading newline (whitespace)

//
// nilness potential
var points []int
fmt.Println("show point for index '5'", points[5])

Choose a reason for hiding this comment

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

🚫 [golangci-autoreview] reported by reviewdog 🐶
nilness: nil dereference in index operation (govet)

Repository owner deleted a comment from github-actions bot Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant