I was following this problem,
Let $D$ be the open unit disc and $C$ be the unit circle. Suppose $$f:C\to\mathbb{C}$$ is continuous. Show that $$g(w)=\dfrac{1}{2\pi i}\int_{C} \dfrac{f(z)}{z-w} \rm{d}z$$
is an analytic function of $w$ for $w\in D$.
and the answer seemed fair, but it uses fubini's theorem. But my complex analysis class doesn't cover this theorem so either I have to prove it or I should find another proof that these integrals can be done opposite ways.
Here is the snippet from the link: $$\int_\gamma \left( \frac{1}{2\pi i} \int_C \frac{f(z)}{z-w}\,dz \right)\,dw \\= \frac{1}{2\pi i} \int_C \left( \int_\gamma \frac{f(z)}{z-w}\,dw \right)\,dz$$
Is there a way of showing this to be true?(not necessarily general, it is sufficient to prove for this case only) I have tried to do it by myself but couldn't find solution.
Also, can you give some hint on showing that $g$ is continuous in the case above? This link lacks of it but I can't think of way of showing it.