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

Allow to parse relative url templates. #11

Merged
merged 4 commits into from
Dec 9, 2013

Conversation

calavera
Copy link
Contributor

@calavera calavera commented Dec 9, 2013

Otherwise Client.ResolveReference will override part of our urls when the
endpoints contain path.

The problem is more evident when working with GitHub Enterprise, where the api path is /api/v3.
Sawyer removes that part of the path when go-octokit tries to create hyperlinks.

Otherwise Client.ResolveReference will override part of our urls when the endpoints contain path.
@owenthereal
Copy link
Member

👍

owenthereal added a commit that referenced this pull request Dec 9, 2013
Allow to parse relative url templates.
@owenthereal owenthereal merged commit ec1b99a into lostisland:master Dec 9, 2013
@owenthereal
Copy link
Member

I'm noticing you added a gopack config file. I know @technoweenie and maybe most of the Go GitHubers are using it :). I hope to get to use it more in the future.

@calavera
Copy link
Contributor Author

calavera commented Dec 9, 2013

yeah, it was already there but it missed a couple of dependencies. It's a pretty nice projects, I have a couple of things more to add, probably this week, one is vendoring, the other one is aliases, so you can use forks without modifying your go code.

@calavera calavera deleted the relative_url_templates branch December 9, 2013 17:17
@owenthereal
Copy link
Member

👍 to that!

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

2 participants