// CrossLanguagePayload encodes a native Go struct into a payload for
// cross-language transforms. To find the expected structure of a payload,
// consult the documentation in the SDK performing the expansion.
CrossLanguagePayload encodes a native Go struct into a payload for
cross-language transforms. To find the expected structure of a payload,
consult the documentation in the SDK performing the expansion.
// CrossLanguagePayload encodes a native Go struct into a payload for // cross - language transforms . To find the expected structure of a payload // consult the documentation in the SDK performing the expansion .
func CrossLanguagePayload(pl interface{}) []byte {
	bytes, err := xlangx.EncodeStructPayload(pl)
	if err != nil {
		panic(err)
	}
	return bytes
}
func CrossLanguagePayload ( pl interface { } ) [ ] byte { bytes , err := xlangx . EncodeStructPayload ( pl ) if err != nil { panic ( err ) } return bytes }
CrossLanguagePayload encodes a native Go struct into a payload for
cross-language transforms.
CrossLanguagePayload encodes a native Go struct into a payload for cross - language transforms .