6 ms·
I have done something similar in the past: http://ahmetalpbalkan.github.io/go-linq/ http://ahmetalpbalkan.github.io/go-linq/ (https://github.com/ahmetalpbalkan/
by ahmett 12y ago
I have done something similar in the past: http://ahmetalpbalkan.github.io/go-linq/ http://ahmetalpbalkan.github.io/go-linq/ (https://github.com/ahmetalpbalkan/go-linq https://github.com/ahmetalpbalkan/go-linq) this also has filter/map functions (where/select in LINQ) I haven't used reflection but callers should make type assertions needed.
This doesn't make things very slow but not very faster either. When you need performance, a code generator like this can help: http://clipperhouse.github.io/gen/ http://clipperhouse.github.io/gen/