code: func NewDiffFormat(source string) formatter.Format {
  	switch source {
  	case formatter.TableFormatKey:
  		return defaultDiffTableFormat
  	}
  	return formatter.Format(source)
  }
docs: // NewDiffFormat returns a format for use with a diff Context