Skip to content
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

Fix gometalinter issues #665

Merged
merged 3 commits into from Nov 21, 2018
Merged

Conversation

mjtrangoni
Copy link
Contributor

Hi @mattn,

I fixed here some trivial errors reported by gometalinter.

See,
$ gometalinter --vendor --disable-all --enable=misspell ./...
sqlite3.go:1379:45:warning: "succesfully" is a misspelling of "successfully" (misspell)
sqlite3.go:1390:30:warning: "registerd" is a misspelling of "registered" (misspell)
sqlite3_func_crypt.go:16:27:warning: "ceasar" is a misspelling of "caesar" (misspell)
sqlite3_func_crypt.go:43:59:warning: "Ceasar" is a misspelling of "Caesar" (misspell)
sqlite3_opt_userauth_test.go:450:27:warning: "succesful" is a misspelling of "successful" (misspell)
sqlite3_opt_userauth_test.go:456:27:warning: "succesful" is a misspelling of "successful" (misspell)
return err
}
return nil
return conn.RegisterAggregator("customSum", customSum, true)
Copy link
Owner

Choose a reason for hiding this comment

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

What warning on gometalinter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, here is the warning message,

sqlite3_test.go:1302:4:warning: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) (megacheck)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

6 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.344% when pulling d2d0bf1 on mjtrangoni:fix-gometalinter-issues into 1ef6010 on mattn:master.

@mattn
Copy link
Owner

mattn commented Nov 21, 2018

Thank you

@mattn mattn merged commit 0a64ab2 into mattn:master Nov 21, 2018
@mjtrangoni mjtrangoni deleted the fix-gometalinter-issues branch November 21, 2018 17:08
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.

None yet

3 participants