helpers

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: AGPL-3.0, Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix = "PLRL"
)

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, fallback string) string

GetEnv - Lookup the environment variable provided and set to default value if variable isn't found

func GetPluralEnv

func GetPluralEnv(key, fallback string) string

GetPluralEnv - Lookup the plural environment variable. It has to be prefixed with EnvPrefix. If variable with the provided key is not found, fallback will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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