Mac app
Opened this issue · 1 comments
Deleted user commented
hi,
It's possible to create a Mac app that runs a go script ? How? Thanks a lot
fogleman commented
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/