activedevelopment

package
v0.0.0-...-b3cd731 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveD

func ActiveD() bool

func ConfigIf

func ConfigIf(n int) bool

func ConfigIsActiveD

func ConfigIsActiveD() bool

func ConfigVerbosity

func ConfigVerbosity() int

func DoX

func DoX() bool

func FeatureFlag

func FeatureFlag(flag string) bool

func IsProd

func IsProd() bool

func OnFeatureFlag

func OnFeatureFlag(flag string, fn func() error) error

func Verbosity

func Verbosity() int

Types

type Config

type Config struct {
	ActiveD   bool
	ShowDebug bool
	LogApis   bool
	Verbosity int
	DoX       bool

	FeatureFlags  map[string]struct{}
	FeatureTags   map[string]string
	FeatureTagsEx map[string]interface{}
}

Directories

Path Synopsis
verbose
v
vv
vvv

Jump to

Keyboard shortcuts

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