Suppose that $f$ is analytic in some domain D containing the unit circle $\gamma$ and that $z_0$ is a point in D not on $\gamma $. Assuming that $g(z)=\frac{f(z)}{z-z_0}$ is continuous at $z_0$, prove that $$\int_\gamma \frac{f(z)}{z-z_0}dz=0.$$
This is where I am so far, we know that from Cauchy's Integral Formula $$\int_\gamma \frac{f(z)}{z-z_0}dz=2\pi if(z_0)$$ This is equal to $0$ if $f(z_0)=0$. To show that this is equal to $0$, this must have to do something with $g(z)$ being continuous at $z_0$. I know that $g(z)$ is analytic if $f(z_0)=0$, however I cannot show that continuity of $g(z)$ implies analyticity of $g(z)$.
Any comments will be helpful.
Since $\lim_{z\to z_0}\frac{f(z)}{z-z_0}$ exists, $f(z_0)=0$. Otherwise, we would have $\lim_{z\to z_0}f(z)\neq0$ and $\lim_{z\to z_0}z-z_0=0$, which would imply that the limit $\lim_{z\to z_0}\frac{f(z)}{z-z_0}$ does not exist (in $\mathbb C$). So$$\int_\gamma\frac{f(z)}{z-z_0}\mathrm dz=2\pi if(z_0)=0.$$