Here is my question:
Let $f:[0,1]\to\mathbb{C}$ be a continuous function. Show that $$g(z) = \int_0^1 f(t)e^{tz^2} dt$$ defines an entire function.
I know that one approach can be made by using Morera's Theorem.
Let $C$ be a closed contour. Applying Fubini's Theorem, we get $$\oint_C g(z)dz = \oint_C \int_0^1 f(t)e^{tz^2}dtdz = \int_0^1 f(t) \left( \oint_C e^{tz^2} dz \right)dt = \int_0^1 0dt = 0.$$ If we show that $g$ is continuous in $\mathbb{C}$, the proof is completed. However, I am not sure how to do it. For instance, I think that the continuity follows from the fact that the integrand $f(t)e^{tz^2}$ is continuous for all $(t,z)\in[0,1]\times\mathbb{C}$, but I don't know what theorem I should use to conclude it.