octokit / go-octokit

Simple Go wrapper for the GitHub API
https://github.com/octokit/go-octokit
MIT License
258 stars 79 forks source link

Add Public Keys API #96

Closed obsc closed 9 years ago

obsc commented 9 years ago

@pengwynn

Added functionality for https://developer.github.com/v3/users/keys/

Also refactored the expanding of default links into a single method in hyperlink.go. Let me know what you think of this.

pengwynn commented 9 years ago

@obsc One comment and then this is good to merge. :+1:

obsc commented 9 years ago

Fixed name collision

@pengwynn Should the rest of the codebase be refactored to use ExpandWithDefault to promote DRYer code?

pengwynn commented 9 years ago

Should the rest of the codebase be refactored to use ExpandWithDefault to promote DRYer code?

We could explore that in a separate PR if you'd like.