{"action":"closed","issue":{"url":"https://api.github.com/repos/surullabs/lint/issues/7","repository_url":"https://api.github.com/repos/surullabs/lint","labels_url":"https://api.github.com/repos/surullabs/lint/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/surullabs/lint/issues/7/comments","events_url":"https://api.github.com/repos/surullabs/lint/issues/7/events","html_url":"https://github.com/surullabs/lint/issues/7","id":191187195,"number":7,"title":"go vet false positive with input from list of file `*.go`","user":{"login":"meomap","id":3161672,"avatar_url":"https://avatars.githubusercontent.com/u/3161672?v=3","gravatar_id":"","url":"https://api.github.com/users/meomap","html_url":"https://github.com/meomap","followers_url":"https://api.github.com/users/meomap/followers","following_url":"https://api.github.com/users/meomap/following{/other_user}","gists_url":"https://api.github.com/users/meomap/gists{/gist_id}","starred_url":"https://api.github.com/users/meomap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meomap/subscriptions","organizations_url":"https://api.github.com/users/meomap/orgs","repos_url":"https://api.github.com/users/meomap/repos","events_url":"https://api.github.com/users/meomap/events{/privacy}","received_events_url":"https://api.github.com/users/meomap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sridharv","id":326998,"avatar_url":"https://avatars.githubusercontent.com/u/326998?v=3","gravatar_id":"","url":"https://api.github.com/users/sridharv","html_url":"https://github.com/sridharv","followers_url":"https://api.github.com/users/sridharv/followers","following_url":"https://api.github.com/users/sridharv/following{/other_user}","gists_url":"https://api.github.com/users/sridharv/gists{/gist_id}","starred_url":"https://api.github.com/users/sridharv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sridharv/subscriptions","organizations_url":"https://api.github.com/users/sridharv/orgs","repos_url":"https://api.github.com/users/sridharv/repos","events_url":"https://api.github.com/users/sridharv/events{/privacy}","received_events_url":"https://api.github.com/users/sridharv/received_events","type":"User","site_admin":false},"assignees":[{"login":"sridharv","id":326998,"avatar_url":"https://avatars.githubusercontent.com/u/326998?v=3","gravatar_id":"","url":"https://api.github.com/users/sridharv","html_url":"https://github.com/sridharv","followers_url":"https://api.github.com/users/sridharv/followers","following_url":"https://api.github.com/users/sridharv/following{/other_user}","gists_url":"https://api.github.com/users/sridharv/gists{/gist_id}","starred_url":"https://api.github.com/users/sridharv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sridharv/subscriptions","organizations_url":"https://api.github.com/users/sridharv/orgs","repos_url":"https://api.github.com/users/sridharv/repos","events_url":"https://api.github.com/users/sridharv/events{/privacy}","received_events_url":"https://api.github.com/users/sridharv/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-23T04:33:47Z","updated_at":"2016-11-23T09:16:17Z","closed_at":"2016-11-23T09:16:17Z","body":"I have default linter on top of 3 repository and it output false positive go vet error. \r\n```\r\n~/testlinter/src/meomap] 12s $ go test --run TestLint\r\n--- FAIL: TestLint (2.33s)\r\n        lint_test.go:17: lint failures: govet.Check: /Users/meomap/testlinter/src/meomap/b/main.go:9: declaration of \"foo\" shadows declaration at /Users/meomap/testlinter/src/meomap/a/main.go:3\r\nFAIL\r\nexit status 1\r\nFAIL    meomap  2.342s\r\n```\r\n\r\nIt seems the linter run this go vet command\r\n```\r\n$ go tool vet --shadow a/main.go b/main.go c/main.go \r\n``` \r\nand I opened an issue at golang project here but it closed\r\n\r\nhttps://github.com/golang/go/issues/18018\r\n\r\nIs there any reason why the vet command have to run with list of `*.go` file instead of greedy argument `.` ?"}}
{"actor":{"display_login":"sridharv"}}