{"action":"created","comment":{"url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/comments/215282187","pull_request_review_id":152510405,"id":215282187,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTI4MjE4Nw==","diff_hunk":"@@ -0,0 +1,280 @@\n+package test\n+\n+import (\n+\t\"testing\"\n+\t\"time\"\n+\n+\t\"github.com/libp2p/go-libp2p-peer\"\n+\tma \"github.com/multiformats/go-multiaddr\"\n+\n+\tpstore \"github.com/libp2p/go-libp2p-peerstore\"\n+)\n+\n+var addressBookSuite = map[string]func(book pstore.AddrBook) func(*testing.T){\n+\t\"Addresses\":            testAddresses,\n+\t\"Clear\":                testClearWorks,\n+\t\"SetNegativeTTLClears\": testSetNegativeTTLClears,\n+\t\"UpdateTTLs\":           testUpdateTTLs,\n+\t\"NilAddrsDontBreak\":    testNilAddrsDontBreak,\n+\t\"AddressesExpire\":      testAddressesExpire,\n+}\n+\n+type AddrMgrFactory func() (pstore.AddrBook, func())\n+\n+func TestAddrMgr(t *testing.T, factory AddrMgrFactory) {\n+\tfor name, test := range addressBookSuite {\n+\t\t// Create a new peerstore.\n+\t\tab, closeFunc := factory()\n+\n+\t\t// Run the test.\n+\t\tt.Run(name, test(ab))\n+\n+\t\t// Cleanup.\n+\t\tif closeFunc != nil {\n+\t\t\tcloseFunc()\n+\t\t}\n+\t}\n+}\n+\n+func testAddresses(m pstore.AddrBook) func(*testing.T) {","path":"test/addr_manager_suite.go","position":39,"original_position":39,"commit_id":"7f4288fab138cd43a67dd6a5cb31f8c2ace81a9b","original_commit_id":"7f4288fab138cd43a67dd6a5cb31f8c2ace81a9b","user":{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"body":"@lanzafame – I've only moved the tests around in this PR, I haven't introduced any new tests nor modified existing ones.\r\n\r\nHow about we make this change in the [next PR up for review](https://github.com/libp2p/go-libp2p-peerstore/pull/32)? It precisely touches tests to increase coverage ;-)","created_at":"2018-09-05T14:01:52Z","updated_at":"2018-09-05T14:01:52Z","html_url":"https://github.com/libp2p/go-libp2p-peerstore/pull/30#discussion_r215282187","pull_request_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/comments/215282187"},"html":{"href":"https://github.com/libp2p/go-libp2p-peerstore/pull/30#discussion_r215282187"},"pull_request":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30"}},"in_reply_to_id":215264094},"pull_request":{"url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30","id":212362901,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMzYyOTAx","html_url":"https://github.com/libp2p/go-libp2p-peerstore/pull/30","diff_url":"https://github.com/libp2p/go-libp2p-peerstore/pull/30.diff","patch_url":"https://github.com/libp2p/go-libp2p-peerstore/pull/30.patch","issue_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/30","number":30,"state":"open","locked":false,"title":"Peerstore: refactor into interface, mem impl, ds impl","user":{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"body":"Changelog:\r\n\r\n* Create `interface.go` with only abstract interfaces. \r\n* Move memory-backed peerstore into `mem` package.\r\n* Move datastore-backed peerstore into `ds` package. \r\n  * Eventually this should spin off into a separate top-level package `go-libp2p-peerstore-ds`.\r\n  * Perhaps rename the _interface + memory_ package to `go-libp2p-**interface**-peerstore`.\r\n* Refactor tests into abstract test suites according to idiomatic Go, as seen in [`nettest` package](https://github.com/golang/net/tree/master/nettest). Benefits:\r\n  * The interface module holds the test specifications that all implementations should adhere to.\r\n  * Implementation packages (mem, ds) simply invoke the suites with their concrete addrbook/peerstore. \r\n* Normalise naming `AddrManager` => `AddrBook`, just like `KeyBook`. \r\n\r\nConsumers should now create peerstores using the constructor function from the appropriate implementation package, e.g. `mem.NewPeerstore()`. \r\n\r\n---\r\n\r\n**Warning:** This introduces a breaking change. Didn't find a way to keep the original top-level `NewPeerstore()` defaulting to a memory-backed store without introducing a import cycle (peerstore => mem => peerstore) -- which Go grunts upon.\r\n\r\nWill fix dependent modules when it's time for `gx publish`.\r\n\r\n---\r\n\r\nNext PR after this one: tests for keybook.","created_at":"2018-08-31T12:06:48Z","updated_at":"2018-09-05T14:01:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cef869108d968ff53aa6291f799ee7f92b9d364","assignee":{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"assignees":[{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"Stebalien","id":310393,"node_id":"MDQ6VXNlcjMxMDM5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/310393?v=4","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},{"login":"whyrusleeping","id":1243164,"node_id":"MDQ6VXNlcjEyNDMxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1243164?v=4","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":385467423,"node_id":"MDU6TGFiZWwzODU0Njc0MjM=","url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":427754958,"node_id":"MDU6TGFiZWw0Mjc3NTQ5NTg=","url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30/commits","review_comments_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30/comments","review_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/30/comments","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/statuses/7f4288fab138cd43a67dd6a5cb31f8c2ace81a9b","head":{"label":"raulk:refactor","ref":"refactor","sha":"7f4288fab138cd43a67dd6a5cb31f8c2ace81a9b","user":{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"repo":{"id":146610144,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY2MTAxNDQ=","name":"go-libp2p-peerstore","full_name":"raulk/go-libp2p-peerstore","owner":{"login":"raulk","id":1101242,"node_id":"MDQ6VXNlcjExMDEyNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1101242?v=4","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raulk/go-libp2p-peerstore","description":"an object to manage sets of peers, their addresses and other metadata","fork":true,"url":"https://api.github.com/repos/raulk/go-libp2p-peerstore","forks_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/forks","keys_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/teams","hooks_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/hooks","issue_events_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/issues/events{/number}","events_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/events","assignees_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/assignees{/user}","branches_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/branches{/branch}","tags_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/tags","blobs_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/statuses/{sha}","languages_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/languages","stargazers_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/stargazers","contributors_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/contributors","subscribers_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/subscribers","subscription_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/subscription","commits_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/contents/{+path}","compare_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/merges","archive_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/downloads","issues_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/issues{/number}","pulls_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/pulls{/number}","milestones_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/milestones{/number}","notifications_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/labels{/name}","releases_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/releases{/id}","deployments_url":"https://api.github.com/repos/raulk/go-libp2p-peerstore/deployments","created_at":"2018-08-29T14:13:01Z","updated_at":"2018-08-31T12:32:57Z","pushed_at":"2018-09-04T17:17:20Z","git_url":"git://github.com/raulk/go-libp2p-peerstore.git","ssh_url":"git@github.com:raulk/go-libp2p-peerstore.git","clone_url":"https://github.com/raulk/go-libp2p-peerstore.git","svn_url":"https://github.com/raulk/go-libp2p-peerstore","homepage":null,"size":292,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libp2p:master","ref":"master","sha":"b1e626f38de4d5f3b8c292f230f8b9f03889ae65","user":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"repo":{"id":60113836,"node_id":"MDEwOlJlcG9zaXRvcnk2MDExMzgzNg==","name":"go-libp2p-peerstore","full_name":"libp2p/go-libp2p-peerstore","owner":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libp2p/go-libp2p-peerstore","description":"an object to manage sets of peers, their addresses and other metadata","fork":false,"url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore","forks_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/forks","keys_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/teams","hooks_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/hooks","issue_events_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/events{/number}","events_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/events","assignees_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/assignees{/user}","branches_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/branches{/branch}","tags_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/tags","blobs_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/statuses/{sha}","languages_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/languages","stargazers_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/stargazers","contributors_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/contributors","subscribers_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/subscribers","subscription_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/subscription","commits_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/contents/{+path}","compare_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/merges","archive_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/downloads","issues_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues{/number}","pulls_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls{/number}","milestones_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/milestones{/number}","notifications_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/labels{/name}","releases_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/releases{/id}","deployments_url":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/deployments","created_at":"2016-05-31T18:32:50Z","updated_at":"2018-08-27T23:07:12Z","pushed_at":"2018-09-04T17:17:21Z","git_url":"git://github.com/libp2p/go-libp2p-peerstore.git","ssh_url":"git@github.com:libp2p/go-libp2p-peerstore.git","clone_url":"https://github.com/libp2p/go-libp2p-peerstore.git","svn_url":"https://github.com/libp2p/go-libp2p-peerstore","homepage":null,"size":180,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":8,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30"},"html":{"href":"https://github.com/libp2p/go-libp2p-peerstore/pull/30"},"issue":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/30"},"comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/libp2p/go-libp2p-peerstore/statuses/7f4288fab138cd43a67dd6a5cb31f8c2ace81a9b"}},"author_association":"NONE"}}
{"actor":{"display_login":"raulk"}}