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$. 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 $g(z)=\frac{f(z)}{z-z_0}$ is given to be continuous at $z_0$. Then 
\begin{eqnarray*}
g(z_0)&=&\lim_{z \to z_0}\frac{f(z)}{z-z_0}\\
&=&\frac{\lim_{z \to z_0}f(z)}{\lim_{z \to z_0} (z-z_0)} \\
\lim_{z \to z_0}f(z)&=&g(z_0) \lim_{z \to z_0}(z-z_0)\\
f(z_0)&=&0
\end{eqnarray*}
