pulumi/pkg/encoding
joeduffy 5976abc9d8 Properly convert interface{} to []string
The prior code could miss arrays of strings during conversion because
the arrays created by the various marshalers are weakly typed.  In other
words, even though they contain strings, the array type is []interface{}.
This change introduces the encoding.ArrayOfStrings function to perform
this conversion, first by checking for []string and returning that directly
where possible, and second, if that fails, checking each element and copying.
2016-12-01 16:20:09 -08:00
..
convert.go Properly convert interface{} to []string 2016-12-01 16:20:09 -08:00
init.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00
marshal.go Add rudimentary template expansion 2016-11-25 12:58:29 -08:00