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

Lint #410

Merged
merged 6 commits into from
Jan 20, 2016
Merged

Lint #410

merged 6 commits into from
Jan 20, 2016

Conversation

julienschmidt
Copy link
Member

  • a few fixes suggested by golint
  • reformat errors to make them more consistent
  • lazy init tlsConfigRegister as many don't use it

@julienschmidt julienschmidt added this to the v1.3 milestone Jan 19, 2016
@@ -564,7 +563,7 @@ func (mc *mysqlConn) readColumns(count int) ([]mysqlField, error) {
if i == count {
return columns, nil
}
return nil, fmt.Errorf("ColumnsCount mismatch n:%d len:%d", count, len(columns))
return nil, fmt.Errorf("columns count mismatch n:%d len:%d", count, len(columns))
Copy link
Member

Choose a reason for hiding this comment

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

s/columns count/column count/

@arnehormann
Copy link
Member

LVGTM 😉

julienschmidt added a commit that referenced this pull request Jan 20, 2016
@julienschmidt julienschmidt merged commit acb04ff into master Jan 20, 2016
@julienschmidt julienschmidt deleted the lint branch January 20, 2016 14:54
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.

2 participants