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

Update package comments to provide better documentation #29

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

theckman
Copy link
Member

This updates the package comments in different areas to improve the GoDoc
rendering of the documentation.

Fixes #27

Signed-off-by: Tim Heckman t@heckman.io

@theckman theckman requested a review from acln0 July 18, 2018 07:33
@coveralls
Copy link

Pull Request Test Coverage Report for Build 81

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.9%) to 100.0%

Totals Coverage Status
Change from base Build 78: 0.9%
Covered Lines: 177
Relevant Lines: 177

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 18, 2018

Pull Request Test Coverage Report for Build 84

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.9%) to 99.063%

Totals Coverage Status
Change from base Build 82: -0.9%
Covered Lines: 317
Relevant Lines: 320

💛 - Coveralls

Copy link
Member

@acln0 acln0 left a comment

Choose a reason for hiding this comment

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

LGTM, except for that one little detail.

//
// braced := '{' plain '}' | '{' hashlike '}'
// urn := URN ':' UUID-NID ':' plain
//
Copy link
Member

Choose a reason for hiding this comment

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

I think this newline can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

@acln0 I intentionally kept it because it otherwise looked too bunched-up next to the function header, when viewing the source code. This is a pretty large comment, so it helped.

screen shot 2018-07-18 at 12 43 02 am

Copy link
Member

Choose a reason for hiding this comment

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

Aha, I see. Well, if it looks fine in Godoc, we can keep it. That was the only concern.

Copy link
Member Author

Choose a reason for hiding this comment

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

To loop back around, looks to be okay!
screen shot 2018-07-18 at 12 46 47 am

Copy link
Member

Choose a reason for hiding this comment

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

Great!

This updates the package comments in different areas to improve the GoDoc
rendering of the documentation.

Fixes #27

Signed-off-by: Tim Heckman <t@heckman.io>
@theckman
Copy link
Member Author

🖕@coveralls

@theckman theckman merged commit eb81e17 into master Jul 18, 2018
theckman added a commit that referenced this pull request Jul 18, 2018
Update package comments to provide better documentation

Signed-off-by: Tim Heckman <t@heckman.io>
@zerkms zerkms deleted the better_godoc branch July 18, 2018 07:52
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