cc

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CC

type CC struct {
	Context  context.Context
	Config   *config.Config
	Log      *zerolog.Logger
	ErrGroup *errgroup.Group
}

CC contains dependencies that are cross cutting and are needed in most of the providers that make up this application.

func NewCC

func NewCC(
	logOutput logger.Writer,
	errOutput logger.ErrWriter,
	configPath config.Path,
	overrides config.Overrider,
) (
	*CC,
	func(),
	error,
)

NewCC creates a singleton CC.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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