matryer / matryer/goscript

I have some problems at running exe with goscript

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
127
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior through goscript.Execute, using the TCP/net.Conn scenario and observing goscript.exe and main.exe lifetimes. Investigate the gob undefined-type error separately from the early return, then confirm completion when both the error behavior and Execute timing are explained and covered by a reproducible check.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.