Settings

Theme

Useful functional-options tricks for better Go libraries [video]

youtube.com

2 points by jub0bs 2 years ago · 1 comment

Reader

jub0bsOP 2 years ago

Functional options is a creational pattern that remains divisive in the Go community: loved by some, loathed by others. However, the pattern can tremendously improve a library’s API design. Throw in a few twists and unleash the full power of functional options on your Go libraries! (Talk given by Julien Cretel at GopherCon Europe 2023)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection