functional-options: New() function returns a value of the wrong type
Author: itsMohammadHeidariCreated Jun 18, 2023Updated Apr 7, 2024
I think in the functional-option.md in the Constructor section, the type of the New() function returned values is different from the type required in the function signature. Related link
Source: tmrts/go-patterns