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 styling on go files. #39

Merged
merged 1 commit into from
Jan 19, 2018
Merged

Fix styling on go files. #39

merged 1 commit into from
Jan 19, 2018

Conversation

plbogen
Copy link
Contributor

@plbogen plbogen commented Jan 19, 2018

There were a couple of big issues.

  1. Structs that were returned from public methods were not visible.
  2. When a var is set in the same line as it is declared you should use type inference.
    not: var silly int = 42
    but: var silly = 42
  3. Errors should be named ErrSomethingBad, not SomethingBadError

There were a couple of big issues.
1) Structs that were returned from public methods were not visible.
2) When a var is set in the same line as it is declared you should use type inference.
	not: var silly int = 42
	but: var silly = 42
3) Errors should be named ErrSomethingBad, not SomethingBadError
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a870d5d on plbogen:master into 85dcd83 on go-ozzo:master.

1 similar comment
@coveralls
Copy link

coveralls commented Jan 19, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling a870d5d on plbogen:master into 85dcd83 on go-ozzo:master.

@qiangxue qiangxue merged commit 44af65f into go-ozzo:master Jan 19, 2018
@qiangxue
Copy link
Member

Nice job! Thanks!

@plbogen
Copy link
Contributor Author

plbogen commented Jan 20, 2018 via email

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.

4 participants