1 2 3 4 5 6
stream, err := {{ call_prefix }}.{{ function_name }}({{ args }}) if err == nil { for range stream.Chan() { } err = stream.Err() }