commit | 6f762fe40343accd524ac5cc71246c32d3c5a534 | [log] [tgz] |
---|---|---|
author | ahoff <ahoff@anduril.com> | Fri Aug 16 22:23:22 2019 |
committer | John Southworth <john.southworth@gmail.com> | Mon Sep 09 21:24:10 2019 |
tree | 508b3db4bf387dd56bc7740768c9296b268e4d4d | |
parent | 9e41260acd3063e301894e7c24d45e59a46775df [diff] |
Support variants of structs
diff --git a/dbus.go b/dbus.go index c6d0d3c..428923d 100644 --- a/dbus.go +++ b/dbus.go
@@ -87,6 +87,7 @@ } if isVariant(src.Type()) && !isVariant(dest.Type()) { src = getVariantValue(src) + return store(dest, src) } if !src.Type().ConvertibleTo(dest.Type()) { return fmt.Errorf(