func codegenComment(sources []string) string {
	const fileComment = `// Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
/*
 * %s
 */`
	var sourceBlock []string
	if len(sources) == 1 {
		sourceBlock = append(sourceBlock, "SOURCE:")
	} else {
		sourceBlock = append(sourceBlock, "SOURCES:")
	}

	for _, source := range sources {
		_, fName := filepath.Split(source)
		sourceBlock = append(sourceBlock, fmt.Sprintf(" *     %s", fName))
	}

	return fmt.Sprintf(fileComment, strings.Join(sourceBlock, "\n"))
}
// codegenComment generates a comment informing readers they are looking at
// generated code and lists the source avro files used to generate the code
//
// invariant: sources > 0
codegenComment generates a comment informing readers they are looking at
generated code and lists the source avro files used to generate the code

sources > 0
// codegenComment generates a comment informing readers they are looking at // generated code and lists the source avro files used to generate the code // // invariant : sources > 0
func codegenComment(sources []string) string {
	const fileComment = `// Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
/*
 * %s
 */`
	var sourceBlock []string
	if len(sources) == 1 {
		sourceBlock = append(sourceBlock, "SOURCE:")
	} else {
		sourceBlock = append(sourceBlock, "SOURCES:")
	}
	for _, source := range sources {
		_, fName := filepath.Split(source)
		sourceBlock = append(sourceBlock, fmt.Sprintf(" *     %s", fName))
	}
	return fmt.Sprintf(fileComment, strings.Join(sourceBlock, "\n"))
}
func codegenComment ( sources [ ] string ) string { const fileComment = `// Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
/*
 * %s
 */` var sourceBlock [ ] string if len ( sources ) == 1 { sourceBlock = append ( sourceBlock , " " ) } else { sourceBlock = append ( sourceBlock , " " ) } for _ , source := range sources { _ , fName := filepath . Split ( source ) sourceBlock = append ( sourceBlock , fmt . Sprintf ( " " , fName ) ) } return fmt . Sprintf ( fileComment , strings . Join ( sourceBlock , " \n " ) ) }
codegenComment generates a comment informing readers they are looking at
generated code and lists the source avro files used to generate the code
codegenComment generates a comment informing readers they are looking at generated code and lists the source avro files used to generate the code