utils

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExistAndHasContent

func DirExistAndHasContent(dirPath string) error

func FileHasContent

func FileHasContent(file string) error

func GetAllEnvVarsFromHost

func GetAllEnvVarsFromHost() map[string]string

func IsValidDirE

func IsValidDirE(path string) error

func MergeSlices added in v0.0.8

func MergeSlices(slices ...[]string) []string

Types

type EnvVar

type EnvVar struct {
	Name  string
	Value string
}

func GetAllEnvVarsFromHostAsStruct

func GetAllEnvVarsFromHostAsStruct(envVarNames []string) []EnvVar

Jump to

Keyboard shortcuts

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