Hi everyone!
I'm having a problem with an application I'm making. It is a simple chat program written in go (obviously) and it runs in the terminal. Now, I want my laptop to be the server and let the client program run on two different macs (for example). So I built the client program on my laptop and tried to run it on the other one, but in the terminal I get "Permission denied".
1. Can I make changes on the source code to give the program proper permissions to run, or do I have to do it manually/set user permissions on every computer trying to run my program? Regarding the first alternative, I am aware of the "os"-package with FileMode, I just dont know how to use it correctly... :/
2. Both macs have intel cpu, but one is core 2 duo and the other sandy bridge. Is this a problem?
I hope I didn't post in wrong thread, and if so hope some of you can point my in the right direction.
Thanks!
-Ø