Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chimeracoder
on Oct 22, 2017
|
parent
|
context
|
favorite
| on:
Reusable and type-safe options for Go APIs
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.
hellcow
on Oct 22, 2017
[–]
This is a nice implementation from Dave Cheney:
https://github.com/pkg/profile
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: