-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
【讨论】代码生成器 #409
Comments
代码生成器有规范的设计原则么? |
为什么需要/有代码生成器?
设计原则?
近期是否会有代码生成器的分享?
|
今天看到的,既然是谷歌开源的推荐一下 |
请教一个问题。用标准库 ast 获取到结构体类型的 Expr 之后有没有办法能够判断他是不是某个 Interface 的实现。比如,得到一个结构体的 Expr 之后我想知道他是不是一个 fmt.Stringer 类型。或者能不能用 reflect 根据 Expr 生成一个 reflect.Value 或 reflect.Type ? |
代码生成器
参考项目
讨论
The text was updated successfully, but these errors were encountered: