Given this function:
func (c *Firehose) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) {
req, out := c.PutRecordRequest(input)
return out, req.Send()
}
I found that this invocation works:
err, _ := svc.PutRecord(putRecordInput)
However I'm still not very clear on what this means in function signature:
(*PutRecordOutput, error)
My question is, can I always determine what is returned from a function by what is specified in the return line, which in this case is:
return out, req.Send()