util

package
v0.0.0-...-ac156b6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 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]interface{} to a struct

func StructToMap

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

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