Will Norris
158c7cec39
add test for invalid URL passed to NewRequest
also add specific error type checking for invalid JSON test
13 years ago
Will Norris
7b9456bc0d
move library under 'github' directory
This now aligns with the (pretty strong) golang convention of the
package name matching the path basename
13 years ago
Will Norris
57131f1513
simplify golden value in test case
13 years ago
Will Norris
facf5a78f4
add additional organization related methods
adds CheckMemberhsip, CheckPublicMembership, and RemoveMember
13 years ago
Will Norris
01e915341c
properly handle API errors with no response body
this is particularly important for methods like
Organizations.CheckMembership which return a 404 to indicate a
successful response of "false".
13 years ago
Will Norris
1329391b03
pass ListOptions to Organizations.List
also minor doc cleanup
13 years ago
Will Norris
7a48428682
gofmt
13 years ago
Will Norris
d67731f509
add support for basic User methods
includes Users.Get, Users.Edit, Users.List
13 years ago
Will Norris
83d5c799b3
minor cleanup
- standardize on "url_" for internal vars rather than "urls" or "url"
- move var definition closer to first use in several tests
- add .gitignore for test binary
13 years ago
Will Norris
d703e213f3
fix typo in README link
13 years ago
Will Norris
7abdd30732
add build status to README
13 years ago
Will Norris
86eb4da7b4
add minimal travis-ci config
13 years ago
Will Norris
c9d2c133aa
fill out readme and other docs a bit more
13 years ago
Will Norris
aa0a125b89
initial checkin of go-github code
This commit adds the core library funcationality and establishes the
general calling style and testing structure. Only a few GitHub API
methods related to organizations and repositories are included in this
first commit, mainly to cement the calling style.
13 years ago
Will Norris
d6aae1a386
add readme, license, and contributing files
13 years ago
Will Norris
425c5ff426
initial empty commit
13 years ago