News for hackers. Stuff that matters.
Re:Reusable and type-safe options for Go APIs by chimeracoder on Sunday October 22, 2017 @10:40AM (#15527025)
I have to say I agree. I came to Go from functional languages (primarily Lisp), so you'd think that the "Functional Options for Friendly APIs" pattern would appeal to me, but I've never seem an implementation that I've actually liked to use.
Re:Reusable and type-safe options for Go APIs by hellcow on Sunday October 22, 2017 @05:57PM (#15529185)
This is a nice implementation from Dave Cheney: https://github.com/pkg/profile