11fc7e7f2b
This commit adds a new counterpart to `ComponentMain` which accepts an options struct for specifying callback functions. Currently it supports `construct` (for components) and `call` (for methods), but is extensible in a non-breaking fashion in future to support all other provider methods as they become useful to implement. The original `ComponentMain` still exists, though it may be desirable to deprecate it in future in favor of `MainWithOptions`. |
||
---|---|---|
.. | ||
containers | ||
examples | ||
integration | ||
testprovider | ||
config_test.go | ||
go.mod | ||
go.sum | ||
history_test.go | ||
login_test.go | ||
main_test.go | ||
stack_test.go |