Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2014 (5)
20082026
  1. …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
  2. 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
  3. Yes, a decent amount, I am a fan: https://github.com/clipperhouse/gen
  4. 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
  5. …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
  6. 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
  7. …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
  8. …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
  9. …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
  10. …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
  11. I’ve started such a thing: https://github.com/clipperhouse/gen Early days, still a lot of work to do, but I think it’s promising.
    comment by mwsherman · 2013-11-29 · in Go 1.2