utils

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package utils is a grab bag of things that don't belong anywhere else

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTagsMap

func GetTagsMap(value string) (map[string]string, error)

GetTagsMap parses tags in the format key1=value1,key2=value2

func GetValue

func GetValue(defaultVal, envVar string) string

GetValue Returns the value of the envVar, or the default

func Truncate

func Truncate(s string, length int) string

Truncate truncates a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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