utils

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAttributes

func CopyAttributes(value map[string]any) map[string]any

CopyAttributes makes a deep copy of the attributes map.

func NormalizeInterfaceAttributes

func NormalizeInterfaceAttributes(value any) any

NormalizeInterfaceAttributes normalises types of an attribute values. The following transformations are applied: int -> int64, float32 -> float64. The normalisation proceeds recursively through maps and slices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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