Generating Go code in Kubebuilder style
Generally speaking, code generation is the process of producing code from some sort of abstract description. Although this is not a very expressive description, almost everyone has some sort of understanding of code generation. For example, in the cloud native ecosystem generating code from Protobuf or OpenAPI descriptors is quite common.
Code generation, however, is much more than that. Besides specific, (very) high-level definition languages, program code is also such abstract description.
READ ARTICLE
Thu, Apr 2, 2020