{"action":"created","comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/34594997","id":34594997,"diff_hunk":"@@ -0,0 +1,132 @@\n+/*\n+ * Copyright 2013-2015 Sergey Ignatov, Alexander Zolotov, Mihai Toader, Florin Patan\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package com.goide.inspections;\n+\n+import com.goide.GoConstants;\n+import com.goide.psi.*;\n+import com.goide.psi.impl.GoElementFactory;\n+import com.goide.runconfig.testing.GoTestFinder;\n+import com.intellij.codeInspection.LocalQuickFixBase;\n+import com.intellij.codeInspection.ProblemDescriptor;\n+import com.intellij.codeInspection.ProblemsHolder;\n+import com.intellij.openapi.project.Project;\n+import com.intellij.openapi.util.text.StringUtil;\n+import com.intellij.psi.PsiElement;\n+import com.intellij.util.containers.ContainerUtil;\n+import org.jetbrains.annotations.NotNull;\n+\n+import java.util.List;\n+\n+public class GoTestingDeclarationsInspection extends GoInspectionBase {\n+  private enum TestingType {TEST, TEST_MAIN, BENCHMARK, EXAMPLE}\n+\n+  private static TestingType getTestingType(@NotNull String name) {\n+    if (name.startsWith(GoConstants.TEST_PREFIX)) {\n+      return name.toLowerCase().equals(\"testmain\") ? TestingType.TEST_MAIN : TestingType.TEST;\n+    }\n+    if (name.startsWith(GoConstants.BENCHMARK_PREFIX)) return TestingType.BENCHMARK;\n+    if (name.startsWith(GoConstants.EXAMPLE_PREFIX)) return TestingType.EXAMPLE;\n+    return null;\n+  }\n+\n+  private static String getPrefixFromType(@NotNull TestingType type) {\n+    switch (type) {\n+      case TEST:\n+      case TEST_MAIN:\n+        return GoConstants.TEST_PREFIX;\n+      case BENCHMARK:\n+        return GoConstants.BENCHMARK_PREFIX;\n+      case EXAMPLE:\n+      default:\n+        return GoConstants.EXAMPLE_PREFIX;\n+    }\n+  }\n+\n+  @Override\n+  protected void checkFile(@NotNull final GoFile file, @NotNull ProblemsHolder problemsHolder) {\n+    if (!GoTestFinder.isTestFile(file)) return;\n+    GoImportSpec testingImportSpec = file.getImportedPackagesMap().get(GoConstants.TESTING_PATH);\n+    String testingAlias = null;\n+    if (testingImportSpec != null) {\n+      testingAlias = testingImportSpec.getAlias();\n+      testingAlias = testingAlias == null ? testingImportSpec.getPath() : testingAlias;\n+    }\n+    for (final GoFunctionDeclaration function : file.getFunctions()) {\n+      String name = function.getName();\n+      if (name == null) continue;\n+      TestingType type = getTestingType(name);\n+      if (type == null) continue;\n+      final GoSignature signature = function.getSignature();\n+      if (signature == null) continue;\n+      List<GoParameterDeclaration> params = signature.getParameters().getParameterDeclarationList();\n+      GoParameterDeclaration param = ContainerUtil.getFirstItem(params);\n+\n+      String properParamType = \"*\" + (testingAlias == null ? GoConstants.TESTING_PATH : testingAlias);\n+      String properSignature = \"\";\n+      switch (type) {\n+        case TEST_MAIN:\n+          properParamType += \".M\";\n+          properSignature = \"m \" + properParamType;\n+          break;\n+        case TEST:\n+          properParamType += \".T\";\n+          properSignature = \"t \" + properParamType;\n+          break;\n+        case BENCHMARK:\n+          properParamType += \".B\";\n+          properSignature = \"b \" + properParamType;\n+        default:\n+      }\n+      boolean wrongSignature = false;\n+      if (type == TestingType.EXAMPLE) {\n+        if (params.size() != 0) wrongSignature = true;\n+      }\n+      else {\n+        if (params.size() != 1 || param == null || !param.getType().getText().equals(properParamType)) wrongSignature = true;\n+      }\n+      if (wrongSignature) {\n+        final String finalTestingAlias = testingAlias;\n+        final String finalProperSignature = properSignature;\n+        problemsHolder.registerProblem(signature, \"Wrong testing signature\",\n+                                       new LocalQuickFixBase(\"Fix signature\") {\n+                                         @Override\n+                                         public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {\n+                                           if (finalTestingAlias == null) {\n+                                             file.addImport(GoConstants.TESTING_PATH, null);\n+                                           }\n+                                           signature.replace(\n+                                             GoElementFactory.createFunctionSignatureFromText(project, finalProperSignature));\n+                                         }\n+                                       });\n+      }\n+\n+      final String prefix = getPrefixFromType(type);\n+      final String testName = name.substring(prefix.length());\n+      if (!StringUtil.isCapitalized(testName)) {\n+        final PsiElement identifier = function.getIdentifier();\n+        problemsHolder.registerProblem(identifier, \"Test name must start with capital letter\",\n+                                       new LocalQuickFixBase(\"Capitalize \" + testName) {\n+                                         @Override\n+                                         public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {\n+                                           identifier.replace(","path":"src/com/goide/inspections/GoTestingDeclarationsInspection.java","position":125,"original_position":125,"commit_id":"c7aaf6b61349676811ee780569bf94cee5fc2120","original_commit_id":"c7aaf6b61349676811ee780569bf94cee5fc2120","user":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"body":"memory leak","created_at":"2015-07-14T17:29:24Z","updated_at":"2015-07-14T17:29:24Z","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749#discussion_r34594997","pull_request_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749","_links":{"self":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/34594997"},"html":{"href":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749#discussion_r34594997"},"pull_request":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749"}}},"pull_request":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749","id":39939622,"html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749","diff_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749.diff","patch_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749.patch","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1749","number":1749,"state":"open","locked":false,"title":"Add GoTestingDeclarationsInspection","user":{"login":"eugene-auduchinok","id":3923587,"avatar_url":"https://avatars.githubusercontent.com/u/3923587?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-auduchinok","html_url":"https://github.com/eugene-auduchinok","followers_url":"https://api.github.com/users/eugene-auduchinok/followers","following_url":"https://api.github.com/users/eugene-auduchinok/following{/other_user}","gists_url":"https://api.github.com/users/eugene-auduchinok/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-auduchinok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-auduchinok/subscriptions","organizations_url":"https://api.github.com/users/eugene-auduchinok/orgs","repos_url":"https://api.github.com/users/eugene-auduchinok/repos","events_url":"https://api.github.com/users/eugene-auduchinok/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-auduchinok/received_events","type":"User","site_admin":false},"body":"All testing functions (Test/Benchmark/Example) is test files should have appropriate signature (http://golang.org/pkg/testing/) and the first symbol after testing prefix must not be a lowercase letter.\r\n\r\nI've created anonymous inner classes for quick fixes but I'm not sure if it had been better to create separated named classes.\r\nWould it be better if I combine quick fixes into a single class? Or would it be better if I split inspection otherwise?\r\n\r\nI haven't created tests yet as I'm not sure if I've done all these things right.","created_at":"2015-07-14T17:18:38Z","updated_at":"2015-07-14T17:29:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21a722a1594973910f20fe22aa7f3d175e12fc53","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749/commits","review_comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749/comments","review_comment_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1749/comments","statuses_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/c7aaf6b61349676811ee780569bf94cee5fc2120","head":{"label":"eugene-auduchinok:test_signatures_inspection","ref":"test_signatures_inspection","sha":"c7aaf6b61349676811ee780569bf94cee5fc2120","user":{"login":"eugene-auduchinok","id":3923587,"avatar_url":"https://avatars.githubusercontent.com/u/3923587?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-auduchinok","html_url":"https://github.com/eugene-auduchinok","followers_url":"https://api.github.com/users/eugene-auduchinok/followers","following_url":"https://api.github.com/users/eugene-auduchinok/following{/other_user}","gists_url":"https://api.github.com/users/eugene-auduchinok/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-auduchinok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-auduchinok/subscriptions","organizations_url":"https://api.github.com/users/eugene-auduchinok/orgs","repos_url":"https://api.github.com/users/eugene-auduchinok/repos","events_url":"https://api.github.com/users/eugene-auduchinok/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-auduchinok/received_events","type":"User","site_admin":false},"repo":{"id":38313042,"name":"go-lang-idea-plugin","full_name":"eugene-auduchinok/go-lang-idea-plugin","owner":{"login":"eugene-auduchinok","id":3923587,"avatar_url":"https://avatars.githubusercontent.com/u/3923587?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-auduchinok","html_url":"https://github.com/eugene-auduchinok","followers_url":"https://api.github.com/users/eugene-auduchinok/followers","following_url":"https://api.github.com/users/eugene-auduchinok/following{/other_user}","gists_url":"https://api.github.com/users/eugene-auduchinok/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-auduchinok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-auduchinok/subscriptions","organizations_url":"https://api.github.com/users/eugene-auduchinok/orgs","repos_url":"https://api.github.com/users/eugene-auduchinok/repos","events_url":"https://api.github.com/users/eugene-auduchinok/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-auduchinok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eugene-auduchinok/go-lang-idea-plugin","description":"Google Go language IDE built using the IntelliJ Platform","fork":true,"url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin","forks_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/forks","keys_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/teams","hooks_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/hooks","issue_events_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/events","assignees_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/tags","blobs_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/languages","stargazers_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/stargazers","contributors_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/contributors","subscribers_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/subscribers","subscription_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/subscription","commits_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/merges","archive_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/downloads","issues_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/labels{/name}","releases_url":"https://api.github.com/repos/eugene-auduchinok/go-lang-idea-plugin/releases{/id}","created_at":"2015-06-30T14:12:26Z","updated_at":"2015-06-30T14:12:28Z","pushed_at":"2015-07-14T17:10:26Z","git_url":"git://github.com/eugene-auduchinok/go-lang-idea-plugin.git","ssh_url":"git@github.com:eugene-auduchinok/go-lang-idea-plugin.git","clone_url":"https://github.com/eugene-auduchinok/go-lang-idea-plugin.git","svn_url":"https://github.com/eugene-auduchinok/go-lang-idea-plugin","homepage":"https://plugins.jetbrains.com/plugin/5047","size":21517,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"go-lang-plugin-org:master","ref":"master","sha":"c393bef12b0d04821f3007034a03224cb57972cd","user":{"login":"go-lang-plugin-org","id":6117521,"avatar_url":"https://avatars.githubusercontent.com/u/6117521?v=3","gravatar_id":"","url":"https://api.github.com/users/go-lang-plugin-org","html_url":"https://github.com/go-lang-plugin-org","followers_url":"https://api.github.com/users/go-lang-plugin-org/followers","following_url":"https://api.github.com/users/go-lang-plugin-org/following{/other_user}","gists_url":"https://api.github.com/users/go-lang-plugin-org/gists{/gist_id}","starred_url":"https://api.github.com/users/go-lang-plugin-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-lang-plugin-org/subscriptions","organizations_url":"https://api.github.com/users/go-lang-plugin-org/orgs","repos_url":"https://api.github.com/users/go-lang-plugin-org/repos","events_url":"https://api.github.com/users/go-lang-plugin-org/events{/privacy}","received_events_url":"https://api.github.com/users/go-lang-plugin-org/received_events","type":"Organization","site_admin":false},"repo":{"id":869754,"name":"go-lang-idea-plugin","full_name":"go-lang-plugin-org/go-lang-idea-plugin","owner":{"login":"go-lang-plugin-org","id":6117521,"avatar_url":"https://avatars.githubusercontent.com/u/6117521?v=3","gravatar_id":"","url":"https://api.github.com/users/go-lang-plugin-org","html_url":"https://github.com/go-lang-plugin-org","followers_url":"https://api.github.com/users/go-lang-plugin-org/followers","following_url":"https://api.github.com/users/go-lang-plugin-org/following{/other_user}","gists_url":"https://api.github.com/users/go-lang-plugin-org/gists{/gist_id}","starred_url":"https://api.github.com/users/go-lang-plugin-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-lang-plugin-org/subscriptions","organizations_url":"https://api.github.com/users/go-lang-plugin-org/orgs","repos_url":"https://api.github.com/users/go-lang-plugin-org/repos","events_url":"https://api.github.com/users/go-lang-plugin-org/events{/privacy}","received_events_url":"https://api.github.com/users/go-lang-plugin-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin","description":"Google Go language IDE built using the IntelliJ Platform","fork":false,"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin","forks_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/forks","keys_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/teams","hooks_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/hooks","issue_events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/events","assignees_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/tags","blobs_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/languages","stargazers_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/stargazers","contributors_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/contributors","subscribers_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/subscribers","subscription_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/subscription","commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/merges","archive_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/downloads","issues_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels{/name}","releases_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/releases{/id}","created_at":"2010-08-29T08:20:01Z","updated_at":"2015-07-14T17:15:21Z","pushed_at":"2015-07-14T17:18:38Z","git_url":"git://github.com/go-lang-plugin-org/go-lang-idea-plugin.git","ssh_url":"git@github.com:go-lang-plugin-org/go-lang-idea-plugin.git","clone_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin.git","svn_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin","homepage":"https://plugins.jetbrains.com/plugin/5047","size":34308,"stargazers_count":1793,"watchers_count":1793,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":263,"mirror_url":null,"open_issues_count":138,"forks":263,"open_issues":138,"watchers":1793,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749"},"html":{"href":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1749"},"issue":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1749"},"comments":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1749/comments"},"review_comments":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749/comments"},"review_comment":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1749/commits"},"statuses":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/c7aaf6b61349676811ee780569bf94cee5fc2120"}}}}