Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgsToAttr ¶
argsToAttr turns a prefix of the nonempty args slice into an Attr and returns the unconsumed portion of the slice. If args[0] is an Attr, it returns it. If args[0] is a string, it treats the first two elements as a key-value pair. Otherwise, it treats args[0] as a value with a missing key. This is copied from golang sdk.
func ArgsToAttrSlice ¶
Turn a slice of arguments, some of which pairs of primitives, some might be attributes already, into a slice of attributes. This is copied from golang sdk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.