4 ms·
If anything, that would be an indication that the tooling is nowhere near good enough. Any reflection should be doable entirely with data the compiler has anywa
by lucian1900 13y ago
If anything, that would be an indication that the tooling is nowhere near good enough. Any reflection should be doable entirely with data the compiler has anyway.
- timtadh 13y agoActually there is a tool for this. I think the author was simply un-aware of it. It is called oracle* and is able to answer this typing question and many more. *: https://code.google.com/p/go/source/browse/cmd/oracle/main.go?repo=tools https://code.google.com/p/go/source/browse/cmd/oracle/main.g...
- hierro 13y agoThe tooling is excellent, but the author wasn't aware of it. In fact, the stdlib and the go.types repository provide almost anything required to write a front-end for a Go compiler.