goscript
goscript copied to clipboard
I have some problems at running exe with goscript
Hey!
Maybe my questions will be stupid but why Im getting errors like
gob: bad data: undefined type CommonType = struct { Name string; Id int; }
when there is shoud be no errors after running goscript program? When Im trying to run bad code there is correct error answers like wrong package import or variavle unused.
Also Im getting response from goscript.Execute before goscript.exe is finished to work. Like Im running TCP connection via net.Conn and there is active TCP port and goscript.exe running, when my main.exe is already finished and giving me this error
Sorry for my English