util

package
v1.0.10-rc187 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyValuePairs

func CreateKeyValuePairs(m map[string]string, prefix string, suffix string) ([]byte, error)

func EqualLists

func EqualLists(a, b []string) bool

func GetFileFromUrl

func GetFileFromUrl(fileUrl string) ([]byte, error)

func GetValueFromStruct

func GetValueFromStruct(keyWithDots string, object interface{}) (string, error)

func IsClientModule

func IsClientModule(module model.Module) bool

func MapToYamlBytes

func MapToYamlBytes(m map[string]interface{}) ([]byte, error)

func MarshalYamlWithJsonTags added in v1.0.2

func MarshalYamlWithJsonTags(v interface{}) ([]byte, error)

func MinInt

func MinInt(a, b int) int

func SetChildStringValue added in v1.0.9

func SetChildStringValue(data map[string]interface{}, newValue string, overwrite bool, keys ...string) error

func TarGzWrite

func TarGzWrite(inDirPath string) ([]byte, error)

func ToList

func ToList(value string) []string

func YamlBytesToMap

func YamlBytesToMap(b []byte) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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