utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigAtPath

func GetConfigAtPath(config map[string]interface{}, path tree.Path) (any, error)

getConfigAtPath retrieves a part of the configuration at a given path

func Normalize

func Normalize(m any) interface{}

Normalize is the exported function that users will call

func ToAnySlice

func ToAnySlice(slice any) ([]any, error)

Generic function to convert any slice to []any

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳