Mac app
opened this issue · comments
hi,
It's possible to create a Mac app that runs a go script ? How? Thanks a lot
A couple of options:
-
Build a regular Go binary, launch it via NSTask and communicate over stdin/stdout. https://developer.apple.com/reference/foundation/nstask
-
Build a shared or static library and link to it. http://blog.ralch.com/tutorial/golang-sharing-libraries/