I also have hip problems. Where the gluteus medius attaches to the femur there is also the pyriformis and gluteus minimus attaching there. I think my problem is more with the pyriformis, but the docs and PT don’t have a clear answer. Well, they think the ultimate problem is in my back and this pain is just part of a cascade.
I have had dry needling in this area and it helps, but like the poster above I have found the percussion guns to be a better deal. Compared to the needling the main thing is I can do it 2x per day instead of every other week. I would recommend giving them a try. I have a Hypervolt but there are many similar options, and on Amazon there are some pretty reasonable cheaper ones.
It sounds like you have an injury you need to rest for awhile, in particular on hip-stressing things like golf. I don’t find biking has much effect on any of my back/hip issues, but I have an endurance geometry and stand up a lot.