code: func SummaryCompare(err error, fileStr string) {
  	if err == nil {
  		err = referenceCompare(fileStr)
  	}
  	if err == nil {
  		fileStr = filepath.ToSlash(fileStr)
  		fmt.Printf("Successfully generated %s\n", fileStr)
  	} else {
  		fmt.Println(err)
  	}
  }
docs: // SummaryCompare generates a predictable report for use by test examples. If
  // the specified error is nil, the generated file is compared with a reference
  // copy for byte-for-byte equality. If the files match, then the filename
  // delimiters are normalized and the filename printed to standard output with a
  // success message. If the files do not match, this condition is reported on
  // standard output. If the specified error is not nil, its String() value is
  // printed to standard output.