4 ms·
If you're reworking your API, you may want to consider functional options: http://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis http://dave.c
by infogulch 12y ago
If you're reworking your API, you may want to consider functional options:
http://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis http://dave.cheney.net/2014/10/17/functional-options-for-fri...
I haven't attempted it myself, but it looks very interesting.