{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/21366","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/21366/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/21366/comments","events_url":"https://api.github.com/repos/golang/go/issues/21366/events","html_url":"https://github.com/golang/go/issues/21366","id":248989506,"number":21366,"title":"Non go files issue","user":{"login":"alkesh26","id":1019076,"avatar_url":"https://avatars3.githubusercontent.com/u/1019076?v=4","gravatar_id":"","url":"https://api.github.com/users/alkesh26","html_url":"https://github.com/alkesh26","followers_url":"https://api.github.com/users/alkesh26/followers","following_url":"https://api.github.com/users/alkesh26/following{/other_user}","gists_url":"https://api.github.com/users/alkesh26/gists{/gist_id}","starred_url":"https://api.github.com/users/alkesh26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkesh26/subscriptions","organizations_url":"https://api.github.com/users/alkesh26/orgs","repos_url":"https://api.github.com/users/alkesh26/repos","events_url":"https://api.github.com/users/alkesh26/events{/privacy}","received_events_url":"https://api.github.com/users/alkesh26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-09T10:43:02Z","updated_at":"2017-08-09T10:43:02Z","closed_at":null,"body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\n1.7.1\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/alkesh/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/Cellar/go/1.7.1/libexec\"\r\nGOTOOLDIR=\"/usr/local/Cellar/go/1.7.1/libexec/pkg/tool/darwin_amd64\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/5k/bdptwfgd4dl4zwvlg0xlvd8h0000gp/T/go-build527398333=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\n\r\n\r\n### What did you do?\r\n1. We are adding non go files in our go repo. Eg lets say I add a `test.json` file which has following content\r\n```\r\n{\r\n    a : 1,\r\n    b: \"abc\"\r\n}\r\n```\r\nI read this file in our program and get the keys (`a`, `b`) value. I am able to read file locally.\r\n\r\n### What did you expect to see?\r\nI commit this `test.json` file and push my code to staging.  I expect to get values of `a` and `b`.\r\n\r\n### What did you see instead?\r\nI get error `no such file or directory`\r\n\r\nI am new to GO and not able to figure out what the error is. Does go exclude non .go files?\r\nOr we have to upload these files (`test.json`) on production?\r\n"}}
{"actor":{"display_login":"alkesh26"}}