Gens

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...

gen: optional typewriters

Here are a few optional typewriters I’ve created. They are not built into gen, but can be added as follows...

gen: slice typewriter

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...

gen: stringer

The stringer typewriter is a fork of Rob Pike’s tool of the same name, which generates readable strings for consts...

gen: type writers

gen is driven by “type writers” – packages which are responsible for interpreting the annotated tags and turning them into generated code...

gen: Type-driven code generation for Go

gen is an attempt to bring some generics-like functionality to Go. It uses type annotations to add “of T” functionality to your packages...