Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

README: More consistent formatting with other Go packages. #68

Merged
merged 3 commits into from
Apr 24, 2017

Conversation

dmitshur
Copy link
Collaborator

@dmitshur dmitshur commented Apr 15, 2017

  • Remove the redundant A Transport for Go's http.Client that will cache responses according to the HTTP RFC sentence. The next paragraph says something similar. This sentence can already be found in the repository description (one liner):

    image

  • It's very common to find a godoc.org link in the form of a badge in most Go package repository READMEs. Therefore, it's more recognizable and easier to click the link. I think we should use the badge to be friendlier to users, and remove the superseded plain text link.

  • Move License note into its own section at the bottom. This is a more common location. GitHub already detects and displays the license prominently in top right corner, and there is a LICENSE file in the repo, so it makes sense to place Cache Backends section higher up:

    image

This PR is just a suggestion, feedback is welcome @gregjones.

Remove the redundant "A Transport for Go's http.Client that will
cache responses according to the HTTP RFC" sentence. The next
paragraph says something similar. This sentence can already be
found in the repository description (one liner).

It's very common to find a godoc.org link in the form of a badge in
most Go package repository READMEs. Therefore, it's more recognizable
and easier to click the link. I think we should use the badge to be
friendlier to users, and remove the superseded plain text link.

Move License note into its own section at the bottom. This is a more
common location. GitHub already detects and displays the license
prominently in top right corner, and there is a LICENSE file in the repo,
so it makes sense to place Cache Backends section higher up.
@dmitshur dmitshur requested a review from gregjones April 15, 2017 03:05
@dmitshur
Copy link
Collaborator Author

You can preview what it looks like at https://github.com/gregjones/httpcache/tree/README-adjust-formatting.

README.md Outdated
License
-------

- [MIT License](LICENSE)
Copy link
Owner

Choose a reason for hiding this comment

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

This should be LICENSE.txt, no?

Copy link
Collaborator Author

@dmitshur dmitshur Apr 24, 2017

Choose a reason for hiding this comment

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

You're right, thanks for catching this, will fix.

Copy link
Owner

@gregjones gregjones left a comment

Choose a reason for hiding this comment

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

Other than the link, 👍

@dmitshur dmitshur merged commit 0d2297f into master Apr 24, 2017
@dmitshur dmitshur deleted the README-adjust-formatting branch April 24, 2017 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants