gen: force flag
Tolerating type errors gen operates by parsing and type-checking your source code. The correctness of your code will affect gen’s ability to operate...
Tolerating type errors gen operates by parsing and type-checking your source code. The correctness of your code will affect gen’s ability to operate...
Here are a few optional typewriters I’ve created. They are not built into gen, but can be added as follows...
The slice typewriter is built into gen by default. It generates functional convenience methods that will look familiar to users of C#’s LINQ or JavaScript’s Array methods...
The stringer typewriter is a fork of Rob Pike’s tool of the same name, which generates readable strings for consts...
gen is driven by “type writers” – packages which are responsible for interpreting the annotated tags and turning them into generated code...
gen is an attempt to bring some generics-like functionality to Go. It uses type annotations to add “of T” functionality to your packages...