Settings

Theme

Goreuse: Generic Code for Go

github.com

19 points by dc0d · 3 comments

Reader

1 thread
dc0dOP

goreuse takes Go, modifies the AST by replacing those parts that are needed to be customized and generates a Go source that is specialized for concrete types. It is "go generate" compatible.

  • samnardoni

    So it basically just monomorphises?

    • dc0dOP

      Mostly. But since it is possible to replace/redefine the functions and methods too, it's a bit more capable than that and one can "override" methods or redefine functions.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection