On Thu, Aug 13, 2020 at 3:53 PM xie cui <cuiwei...@gmail.com> wrote: > ..., i know this type struct in generate by compiler, and i need to know > where is this code, and how to generate the struct fields and methods?
To avoid the possibility of the XY problem, can you please tell more about the goal of "generating struct fields and methods" and what exactly is meant by that? Some things can be done by the compiler, some in user code and the two feature sets are definitely not the same. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAA40n-V2L%3Dek7Wok1_ULhbsZYAwQmqKtFOQboHjxU_hHJhv7AA%40mail.gmail.com.