applicationfx

package
v0.1.1-0...-03eb687 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationModule = fx.Module("application",
	fx.Provide(
		application.NewConfig,
	),
	fx.Invoke(
		func(logger zerolog.Logger, cfg application.Config) {
			logger.Info().
				Str("name", cfg.ApplicationName).
				Str("version", cfg.Version).
				Str("environment", cfg.Environment).
				Msg("starting application")
		},
	),
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL