util

package
v2.7.2 Latest Latest
Warning

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

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

Documentation

Overview

Package util provides utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key string) (string, error)

GetEnv will lookup and return an environment variable.

Types

type ErrEnvironmentVariableNotFound

type ErrEnvironmentVariableNotFound string

ErrEnvironmentVariableNotFound is an error string for environment variable not found error.

func (ErrEnvironmentVariableNotFound) Error

Error defines the error interface for ErrEnvironmentVariableNotFound.

Jump to

Keyboard shortcuts

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