stdfx

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 4 Imported by: 3

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, 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳