func Print(data interface{}, outType string) error {
	var (
		err error
		out string
	)

	if outType == "JSON" {
		var jsonvar []byte
		jsonvar, err = json.Marshal(data)
		out = string(jsonvar)
	} else if outType == "CSV" {
		out, err = gocsv.MarshalString(data)
	}

	if err != nil {
		return err
	}

	klog.Infof("%d bytes of reviews output", len(out))
	fmt.Print(out)

	return nil
}
// This method prints the values in "data" interface to standatrd output in the format specified by "out_type", either JSON/CSV
This method prints the values in "data" interface to standatrd output in the format specified by "out_type", either JSON/CSV
// This method prints the values in " data " interface to standatrd output in the format specified by " out_type " either JSON / CSV
func Print(data interface{}, outType string) error {
	var (
		err error
		out string
	)
	if outType == "JSON" {
		var jsonvar []byte
		jsonvar, err = json.Marshal(data)
		out = string(jsonvar)
	} else if outType == "CSV" {
		out, err = gocsv.MarshalString(data)
	}
	if err != nil {
		return err
	}
	klog.Infof("%d bytes of reviews output", len(out))
	fmt.Print(out)
	return nil
}
func Print ( data interface { } , outType string ) error { var ( err error out string ) if outType == " " { var jsonvar [ ] byte jsonvar , err = json . Marshal ( data ) out = string ( jsonvar ) } else if outType == " " { out , err = gocsv . MarshalString ( data ) } if err != nil { return err } klog . Infof ( " " , len ( out ) ) fmt . Print ( out ) return nil }
This method prints the values in "data" interface to standatrd output in the format specified by "out_type", either JSON/CSV
This method prints the values in " data " interface to standatrd output in the format specified by " out_type " either JSON / CSV