Live data from Hacker News

Show HN: Functional options design pattern and implementation in Go

archetechmes.vercel.app

1–2 of 2 posts

Show HN: Functional options design pattern and implementation in Go

#1
Functional options in go are design patterns for configuring structs cleanly when there are many optional settings. Basically a function that carries a configuration change. It let the library to add configuration without continually changing the constructor shape.

Show HN: Functional options design pattern and implementation in Go
archetechmes.vercel.app