helper

package
v0.0.0-...-0ca4974 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrotliInput

func BrotliInput(data []byte) ([]byte, error)

func DeleteEmptyItems

func DeleteEmptyItems(s []string) []string

func GzipInput

func GzipInput(data []byte) ([]byte, error)

func LookupEnvOrBool

func LookupEnvOrBool(key string, defaultVal bool) bool

func LookupEnvOrDuration

func LookupEnvOrDuration(key string, defaultVal time.Duration) time.Duration

func LookupEnvOrString

func LookupEnvOrString(key string, defaultVal string) string

func SanitizeString

func SanitizeString(in string) string

func SliceContains

func SliceContains(slice []string, value string) bool

func ZlibInput

func ZlibInput(data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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