compiler/cpp/src/generate/t_go_generator.cc
/**
 * Renders a function signature of the form 'type name(args)'
 *
 * @param tfunction Function definition
 * @return String of rendered function definition
 */
Renders a function signature of the form 'type name(args)'
@param tfunction Function definition
@return String of rendered function definition
Renders a function signature of the form ' type name ( args ) ' @param tfunction Function definition @return String of rendered function definition
string t_go_generator::function_signature(t_function* tfunction,
                                          string prefix) {
  return
    publicize(prefix + tfunction->get_name()) + 
      "(" + argument_list(tfunction->get_arglist()) + ")";
}
string t_go_generator :: function_signature ( t_function * tfunction , string prefix ) { return publicize ( prefix + tfunction -> get_name ( ) ) + " " + argument_list ( tfunction -> get_arglist ( ) ) + " " ; }
Renders a function signature of the form 'type name(args)'
 @param tfunction Function definition
 @return String of rendered function definition
Renders a function signature of the form ' type name ( args ) ' @param tfunction Function definition @return String of rendered function definition
// TODO(mcslee): Nitpicky, no ',' if argument_list is empty