{"action":"created","issue":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/106","repository_url":"https://api.github.com/repos/yuin/gopher-lua","labels_url":"https://api.github.com/repos/yuin/gopher-lua/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/yuin/gopher-lua/issues/106/comments","events_url":"https://api.github.com/repos/yuin/gopher-lua/issues/106/events","html_url":"https://github.com/yuin/gopher-lua/issues/106","id":209349257,"number":106,"title":"Shipping Lua code with an executable","user":{"login":"technomancy","id":141,"avatar_url":"https://avatars.githubusercontent.com/u/141?v=3","gravatar_id":"","url":"https://api.github.com/users/technomancy","html_url":"https://github.com/technomancy","followers_url":"https://api.github.com/users/technomancy/followers","following_url":"https://api.github.com/users/technomancy/following{/other_user}","gists_url":"https://api.github.com/users/technomancy/gists{/gist_id}","starred_url":"https://api.github.com/users/technomancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technomancy/subscriptions","organizations_url":"https://api.github.com/users/technomancy/orgs","repos_url":"https://api.github.com/users/technomancy/repos","events_url":"https://api.github.com/users/technomancy/events{/privacy}","received_events_url":"https://api.github.com/users/technomancy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-22T04:26:39Z","updated_at":"2017-02-22T17:09:58Z","closed_at":null,"body":"I have a question about a practical recommendation for how to ship Lua code with your binary. During development I want to keep my Lua source in a separate file, but I'm not clear on how to include that Lua source inside my binary so it's included when the executable is deployed. It seems in order to do that I need the code to be a string inside a `.go` file, but this is very inconvenient during development.\r\n\r\nIs there any recommended way to handle this? I suppose I could use a preprocessor and create a `.go` file containing strings from the `.lua` files, but I don't want to do that if there is a better way."},"comment":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/comments/281734764","html_url":"https://github.com/yuin/gopher-lua/issues/106#issuecomment-281734764","issue_url":"https://api.github.com/repos/yuin/gopher-lua/issues/106","id":281734764,"user":{"login":"technomancy","id":141,"avatar_url":"https://avatars.githubusercontent.com/u/141?v=3","gravatar_id":"","url":"https://api.github.com/users/technomancy","html_url":"https://github.com/technomancy","followers_url":"https://api.github.com/users/technomancy/followers","following_url":"https://api.github.com/users/technomancy/following{/other_user}","gists_url":"https://api.github.com/users/technomancy/gists{/gist_id}","starred_url":"https://api.github.com/users/technomancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technomancy/subscriptions","organizations_url":"https://api.github.com/users/technomancy/orgs","repos_url":"https://api.github.com/users/technomancy/repos","events_url":"https://api.github.com/users/technomancy/events{/privacy}","received_events_url":"https://api.github.com/users/technomancy/received_events","type":"User","site_admin":false},"created_at":"2017-02-22T17:09:58Z","updated_at":"2017-02-22T17:09:58Z","body":"I don't have binary data, just text. It looks like for text data that tool doesn't really buy you anything over using a preprocessor to create a `.go` file, so I will do that if there is no gopher-lua-specific way to solve it."}}
{"actor":{"display_login":"technomancy"}}