util

package
v0.0.0-...-7f43d4a Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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