#Code Generation

1 posts

Go Advanced #7 Code Generation — go generate and stringer
6 min read

Go Advanced #7 Code Generation — go generate and stringer

A path that avoids reflect's runtime cost — compile-time code generation. The go generate workflow, plus tools like stringer and mockgen.