How to package an executable file into osx app?

A monitor program written in Golang, that is, running on the terminal to continuously output logs.
now you need to develop an application on Mac, the function is very simple, a button, a textarea, click button is to start the compiled executable, and then display the output log in the text box.

is probably just purple.

so how can I call this executable file and package it?

Aug.09,2021

what you need is: a log output tool with a graphical interface?
have you done the section on log output?

then you can find a Golang GUI library. There is no need to use Swift to write another graphical interface.

if you have to use Swift, learn about NSTask

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1befd2f-31c96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1befd2f-31c96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?