{"action":"opened","issue":{"url":"https://api.github.com/repos/arduino/arduino-create-agent/issues/39","labels_url":"https://api.github.com/repos/arduino/arduino-create-agent/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/arduino/arduino-create-agent/issues/39/comments","events_url":"https://api.github.com/repos/arduino/arduino-create-agent/issues/39/events","html_url":"https://github.com/arduino/arduino-create-agent/issues/39","id":120301197,"number":39,"title":"errors running main.go","user":{"login":"elopio","id":617831,"avatar_url":"https://avatars.githubusercontent.com/u/617831?v=3","gravatar_id":"","url":"https://api.github.com/users/elopio","html_url":"https://github.com/elopio","followers_url":"https://api.github.com/users/elopio/followers","following_url":"https://api.github.com/users/elopio/following{/other_user}","gists_url":"https://api.github.com/users/elopio/gists{/gist_id}","starred_url":"https://api.github.com/users/elopio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elopio/subscriptions","organizations_url":"https://api.github.com/users/elopio/orgs","repos_url":"https://api.github.com/users/elopio/repos","events_url":"https://api.github.com/users/elopio/events{/privacy}","received_events_url":"https://api.github.com/users/elopio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T00:04:30Z","updated_at":"2015-12-04T00:04:30Z","closed_at":null,"body":"When I run main.go I get these errors:\r\n\r\nelopio@calchas:~/workspace/go/src/github.com/arduino/arduino-create-agent$ go run ./main.go          \r\n# command-line-arguments\r\n./main.go:56: undefined: h in h.broadcastSys\r\n./main.go:90: undefined: hideFile\r\n./main.go:96: undefined: Unzip\r\n./main.go:125: undefined: restart\r\n./main.go:140: undefined: Updater\r\n./main.go:184: undefined: GetList\r\n./main.go:200: undefined: h in h.run\r\n./main.go:202: undefined: sh in sh.run\r\n./main.go:206: undefined: discoverLoop\r\n./main.go:210: undefined: wsHandler\r\n./main.go:210: too many errors\r\n\r\nWhat am I missing here? I suppose I'm doing something terribly wrong, but not sure what."}}