Here's the basic deal. Gravity is the measurement of residual sugars. The yeast will eat up certain sugars and leave some behind. They generally eat the stuff better that's been mashed at lower end of the mash range, like 148-152. If you mashed higher you are likely to have more sugar left over when the yeast are done.
So, more sugar left over means higher gravity and a somewhat sweeter beer. Or at least a beer with more maltiness and mouthfeel and somewhat sweeter.
You *could* add some amylaze enzyme to the secondary to help thin it down some, but it's a new concept to me so I hesitate to give much more advice than to look into it.
I am not familiar with the Gose style, but IIRC you really aren't going to get a good example by mashing at 165. I think I remember it needs to be thinner and more refreshing.