appcontext

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package appcontext provides a structure to store the current application execution context.

The use of this structure allows to avoid the use of global variables to share the states of variables across structures and functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppContext

type AppContext struct {
	Viper              *viper.Viper
	Branches           []branch.Branch
	Projects           []monorepo.Project
	Rules              rule.Rules
	BranchesFlag       branch.Flag
	MonorepositoryFlag monorepo.Flag
	RulesFlag          rule.Flag
	Logger             zerolog.Logger
	CfgFileFlag        string
	GitNameFlag        string
	GitEmailFlag       string
	TagPrefixFlag      string
	AccessTokenFlag    string
	RemoteNameFlag     string
	GPGKeyPathFlag     string
	BuildMetadataFlag  string
	DryRunFlag         bool
	VerboseFlag        bool
}

Jump to

Keyboard shortcuts

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