Skip to content
New issue

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

通过函数传递解决Go循环引用 | 芒果zzZ #41

Open
helloteemo opened this issue Feb 13, 2022 · 4 comments
Open

通过函数传递解决Go循环引用 | 芒果zzZ #41

helloteemo opened this issue Feb 13, 2022 · 4 comments

Comments

@helloteemo
Copy link
Owner

https://helloteemo.github.io/2022/02/13/Golang/%E9%80%9A%E8%BF%87%E5%87%BD%E6%95%B0%E4%BC%A0%E9%80%92%E8%A7%A3%E5%86%B3Go%E5%BE%AA%E7%8E%AF%E5%BC%95%E7%94%A8/#more

一个比较无耻的解决方案

@zhouxuwen
Copy link

既然保证了A包是基础包就不会出现循环引用的情况,这个问题感觉就是设计上的问题

@zhouxuwen
Copy link

你的文章好水啊,对得起天天打赏的我们吗

@helloteemo
Copy link
Owner Author

@zhouxuwen
你的文章好水啊,对得起天天打赏的我们吗

你有个锤捶的打赏

@sicuni
Copy link

sicuni commented Feb 23, 2022

好久没碰到这种关系了。写CURD都不太熟悉了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants