util

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL