setup

package
v0.37.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequiredEnv

func GetRequiredEnv(key string) (string, error)

GetRequiredEnv retrieves the value of a required environment variable. If the environment variable is not set or is empty, it returns an error.

func RequireEnvs

func RequireEnvs(keys ...string) error

RequireEnvs checks if all required environment variables are set. It takes a variadic list of environment variable keys and returns an error if any of the required variables are not set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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