clipperhouse/gen
View on GitHub ↗ ★ 1,422 Go
Type-driven code generation for Go
11 mentions on Hacker News by 5 people: 0 stories, 11 comments · first 2013-11-29 · latest 2019-03-29
20082026
-
…no way" crowd would never use the stairway in their building if the elevator broke down. [0] https://github.com/clipperhouse/gen [1] https://github.com/cheekybits/genny [2] https://github.com/cosmos72/gomacro [3]…
comment by alexkavon · 2019-03-29 · in Go 2018 Survey Results -
You can just write the types, annotate them with github.com/clipperhouse/gen, and get pre-tested, reliable implementations around your type. Generators are a legitimate solution and I wish they'd get more love.
comment by lowmagnet · 2018-09-02 · in Notes on the Go2 Generics Draft -
Yes, a decent amount, I am a fan: https://github.com/clipperhouse/gen
comment by mwsherman · 2016-02-16 · in Show HN: Go-git – low-level and extensible Git client library in Go -
Really great package, I depend on it heavily for my codegen package. https://github.com/clipperhouse/gen
comment by mwsherman · 2015-12-22 · in Go/types, the Go type checker: a tutorial -
…felt that the cost of my understanding the abstraction was higher than just implementing the logic. https://github.com/clipperhouse/gen/blob/master/main.go#L67
comment by mwsherman · 2015-03-16 · in The importance of user interface, illustrated by the Go flag package -
I'll just leave these here: https://groups.google.com/forum/#!msg/golang-dev/ZTD1qtpruA8... https://github.com/clipperhouse/gen I'm sorry you got the impression of that there is a strong bias against admitting problems. I haven't seen that…
comment by zaphar · 2014-09-15 · in Channels Are Not Enough -
…type-driven code generation. It’s implemented as pluggable ‘typewriters’, which anyone can create: https://github.com/clipperhouse/gen/blob/master/CHANGELOG.md The default ‘genwriter’ package does LINQ/underscore stuff. If someone wanted…
comment by mwsherman · 2014-07-21 · in Underscore.go -
…Also gen is getting more, um, generic with the notion of custom ‘typewriters’, out on this branch: https://github.com/clipperhouse/gen/tree/3.0
comment by mwsherman · 2014-06-19 · in Go 1.3 is released -
…surprised to see this on HN. There is a substantial set of changes happening out on this branch: https://github.com/clipperhouse/gen/tree/projection . … for this reason: https://github.com/clipperhouse/gen/issues/8
comment by mwsherman · 2014-01-12 · in Gen - a generics library for Go -
…generator with a library of functions it can generate. This is how the "generics" are implemented: https://github.com/clipperhouse/gen/blob/master/templates.go
comment by c-a · 2014-01-12 · in Gen - a generics library for Go