uber-go / fx

A dependency injection based application framework for Go.
https://uber-go.github.io/fx/
MIT License
5.48k stars 283 forks source link

Clarify example "Export boundary functions" #1221

Open JamesSlocumIH opened 2 weeks ago

JamesSlocumIH commented 2 weeks ago

The following example is confusing.

I changed the example to use a parameter object, because I think using the parameter object makes sense here. I think if its not supposed to use a parameter object, updating the names of Params or Config to align could help make the example more clear.

CLAassistant commented 2 weeks ago

CLA assistant check
All committers have signed the CLA.