func checkIfFileParamExists(params map[string]interface{}) bool {
	for _, value := range params {
		switch val := value.(type) {
		case *os.File, []byte:
			return true
		case InputFile:
			if len(val.Bytes) > 0 || val.Filepath != nil {
				return true
			}
		}
	}

	return false
}
// Check if given http params contain file or not.
Check if given http params contain file or not.
// Check if given http params contain file or not .
func checkIfFileParamExists(params map[string]interface{}) bool {
	for _, value := range params {
		switch val := value.(type) {
		case *os.File, []byte:
			return true
		case InputFile:
			if len(val.Bytes) > 0 || val.Filepath != nil {
				return true
			}
		}
	}
	return false
}
func checkIfFileParamExists ( params map [ string ] interface { } ) bool { for _ , value := range params { switch val := value . ( type ) { case * os . File , [ ] byte : return true case InputFile : if len ( val . Bytes ) > 0 || val . Filepath != nil { return true } } } return false }
Check if given http params contain file or not.
Check if given http params contain file or not .