 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package stdfx provides utilities for using Uber's fx.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZapEnvCfgModule ¶
func ZapEnvCfgModule[CFG any, P, R any](name string, newf func(P) (R, error), opts ...fx.Option) fx.Option
ZapEnvCfgModule creates a fx module that already provides a configuration struct parsed from the prefixed environment vars and a logger named after the module. P is assumed to be a fx "Params" struct embedding a fx.In, see: https://uber-go.github.io/fx/parameter-objects.html and R an results object as described here: https://uber-go.github.io/fx/result-objects.html.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.