RayCasting issue

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Weapon : MonoBehaviour {

	public float range = 100;
	public int bulletsPerMag = 30;
	public int bulletsLeft;

	public Transform shootPoint;

	public float fireRate = 0.1f;

	float fireTimer;

	void Start () 
	{
		
	}

	void Update () 
	{

		if (Input.GetButton("Fire1")) 
		{
			Fire();
		}

		if (fireTimer > fireRate)
			fireTimer += Time.deltaTime;
		}
	private void Fire()
	{
		if (fireTimer < fireRate) return;

		RaycastHit hit;

		if (Physics.Raycast(shootPoint.position, shootPoint.transform.forward, out hit, range)) 
		{	
			Debug.Log (hit.transform.name + " found!");
		}

		fireTimer = 0.0f;
	}
}

This script does not have any errors it’s just that when I go into play mode and I click the left mouse button no message appears in the console. I appreciate any help given. thank you!

Change

if (fireTimer > fireRate)
             fireTimer += Time.deltaTime;

to

if (fireTimer < fireRate)
             fireTimer += Time.deltaTime;

and initilize fireTimer to 0.0f when you declare it (or set it in Start())

Thanks a lot man! that really helped!