util

package
v0.0.0-...-04c4f09 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 66

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignMapVariantToInterface

func AssignMapVariantToInterface(mapVal reflect.Value, mapVariant reflect.Value) (bool, error)

func MapToStruct

func MapToStruct(s interface{}, m map[string]dbus.Variant) error

MapToStruct converts a map[string]dbus.Variant to a struct

func StructToMap

func StructToMap(s interface{}, m map[string]interface{})

StructToMap converts a struct to a map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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