We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The main function in Go does not return a value. c2go will discard the return value so the program will always finish with a successful exit code.
main
We need to recognise the return in the main function and call the system exit so that the correct status is passed back to the calling process.
return
Search for "issues/79" in the codebase.
The text was updated successfully, but these errors were encountered:
Use os.Exit() for ReturnStmt in main(). Fixes elliotchance#79
b24e9fe
a771f55
b734de0
ce91d36
Merge pull request #97 from x-tyger/fix79
24bcc05
Use os.Exit() for ReturnStmt in main(). Fixes #79
No branches or pull requests
The
main
function in Go does not return a value. c2go will discard the return value so the program will always finish with a successful exit code.We need to recognise the
return
in themain
function and call the system exit so that the correct status is passed back to the calling process.Search for "issues/79" in the codebase.
The text was updated successfully, but these errors were encountered: