{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/4790","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/4790/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/4790/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/4790/events","html_url":"https://github.com/serverless/serverless/issues/4790","id":301512458,"number":4790,"title":"Windows golang lambda zip which contains folders - No such file or directory error","user":{"login":"rayhaanq","id":22912493,"avatar_url":"https://avatars1.githubusercontent.com/u/22912493?v=4","gravatar_id":"","url":"https://api.github.com/users/rayhaanq","html_url":"https://github.com/rayhaanq","followers_url":"https://api.github.com/users/rayhaanq/followers","following_url":"https://api.github.com/users/rayhaanq/following{/other_user}","gists_url":"https://api.github.com/users/rayhaanq/gists{/gist_id}","starred_url":"https://api.github.com/users/rayhaanq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayhaanq/subscriptions","organizations_url":"https://api.github.com/users/rayhaanq/orgs","repos_url":"https://api.github.com/users/rayhaanq/repos","events_url":"https://api.github.com/users/rayhaanq/events{/privacy}","received_events_url":"https://api.github.com/users/rayhaanq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T18:33:43Z","updated_at":"2018-03-31T05:49:22Z","closed_at":null,"author_association":"NONE","body":"Accessing handlers using a zip artefact which contains folders gives an error `No such file or directory`. This is similar to what's been mentioned in this issue https://github.com/serverless/serverless/issues/4710.  I've made the zip file structure as .\\bin\\profiles and the handler `bin/profiles` which is the same as the one generated by serverless but it doesn't seem to find the file when the api is called. Any ideas/commands to fix this? The command I'm running to build my main.go is `go build -ldflags=\"-s -w -v\" -o bin/profiles profiles/create/main.go` and then my zipper zips those files up into `myservice.zip` which contains the structure `.\\bin\\profiles`. I've also tried zipping it as `bin\\profiles`. The service works fine when there is no nesting and all handlers are located in the root of the zip. How do you get nested folders to work??? Thanks"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/377668480","html_url":"https://github.com/serverless/serverless/issues/4790#issuecomment-377668480","issue_url":"https://api.github.com/repos/serverless/serverless/issues/4790","id":377668480,"user":{"login":"yuriolive","id":10088631,"avatar_url":"https://avatars2.githubusercontent.com/u/10088631?v=4","gravatar_id":"","url":"https://api.github.com/users/yuriolive","html_url":"https://github.com/yuriolive","followers_url":"https://api.github.com/users/yuriolive/followers","following_url":"https://api.github.com/users/yuriolive/following{/other_user}","gists_url":"https://api.github.com/users/yuriolive/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriolive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriolive/subscriptions","organizations_url":"https://api.github.com/users/yuriolive/orgs","repos_url":"https://api.github.com/users/yuriolive/repos","events_url":"https://api.github.com/users/yuriolive/events{/privacy}","received_events_url":"https://api.github.com/users/yuriolive/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T05:49:22Z","updated_at":"2018-03-31T05:49:22Z","author_association":"NONE","body":"rayhaanq I just updated you code https://github.com/rayhaanq/win-go-zipper so every file goes to the root . I think is a problem of Golang zip library."}}
{"actor":{"display_login":"yuriolive"}}