This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
proposoal: NewController() should take options #238
Open
Description
There are a few features that would be best if they were opt in, whether this be for backwards compatibility or simply preference.
An established pattern for configuring something beyond sane defaults is a variadic list of options (see grpc-go for an example).
NewController(t TestReporter, opts ...ControllerOption){
// ...
}