codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsHttpPresignURLClientGenerator.java
private static final void processFunctionalOptions(
            GoWriter writer,
            String src,
            String dest
    ) {
        writer.openBlock("for _, fn := range $L {", "}", src, () -> {
            writer.write("fn(&$L)", dest);
        }).insertTrailingNewline();
    }
/**
     * generates code to iterate thru func optionals and assign value into the dest variable
     *
     * @param writer GoWriter to write the code to
     * @param src    variable name that denotes functional options
     * @param dest   variable in which result of processed functional options are stored
     */
generates code to iterate thru func optionals and assign value into the dest variable
@param writer GoWriter to write the code to
@param src    variable name that denotes functional options
@param dest   variable in which result of processed functional options are stored
generates code to iterate thru func optionals and assign value into the dest variable @param writer GoWriter to write the code to @param src variable name that denotes functional options @param dest variable in which result of processed functional options are stored
private static final void processFunctionalOptions(
            GoWriter writer,
            String src,
            String dest
    ) {
        writer.openBlock("for _, fn := range $L {", "}", src, () -> {
            writer.write("fn(&$L)", dest);
        }).insertTrailingNewline();
    }
private static final void processFunctionalOptions ( GoWriter writer , String src , String dest ) { writer . openBlock ( "for _, fn := range $L {" , "}" , src , ( ) -> { writer . write ( "fn(&$L)" , dest ) ; } ) . insertTrailingNewline ( ) ; }
generates code to iterate thru func optionals and assign value into the dest variable
 @param writer GoWriter to write the code to
 @param src    variable name that denotes functional options
 @param dest   variable in which result of processed functional options are stored
generates code to iterate thru func optionals and assign value into the dest variable @param writer GoWriter to write the code to @param src variable name that denotes functional options @param dest variable in which result of processed functional options are stored