I have sql driver that wraps original driver.Driver, to be able to work
with drivers that not have ExecerContext or QuerierContext i need to return
wrapped to that supports only needed interfaces.
I'm to want to write all cases via handmade switch case and write generator
that creates full combo list of methods and generate interfaces for this
methods.
But this brings file that contains 20K lines
https://git.unistack.org/unistack-org/micro-wrapper-sql/src/branch/master/wrap_gen.go
Does it possible to have smaller code that provides the same effect?
Or I'm miss something?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CACaajQuX2Srh%3D7yWeFQxK_DfhHtWARUp4v7o-rbvagMFwwAy6w%40mail.gmail.com.

Reply via email to