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
init 相关内容已过时
在 runtime.main 中关于 init 调用部分有更新,包括编译器部分。 相关 commit:golang/go@d949d0b 本人水平有限,勉强能看懂一些,但还远远达不到能提 PR 修改此处。期待相关更新。
runtime.main
ps.这个项目能重启真是太好了 🎉
The text was updated successfully, but these errors were encountered:
你好,感谢提醒。确实这部分内容已经过时,init 已经不再是生成代码的方式来,运行时会通过直接调用编译器准备好的 main_inittask 入口地址来直接调用这些初始化函数,这个变化是在 1.13 完成的。
main_inittask
本书今年会陆续对内容进行大量修订和重写,欢迎点击 Watch 保持关注。
Sorry, something went wrong.
期待
No branches or pull requests
动机
init 相关内容已过时
需求说明
在
runtime.main
中关于 init 调用部分有更新,包括编译器部分。相关 commit:golang/go@d949d0b
本人水平有限,勉强能看懂一些,但还远远达不到能提 PR 修改此处。期待相关更新。
ps.这个项目能重启真是太好了 🎉
The text was updated successfully, but these errors were encountered: