What are the conditions on g(z)? otherwise you could just make and and the continuity of f(z) is irrelevant.
In a few proofs that I have read in Complex Analysis, it uses a property that says:
If a function f is continuous, then it can be express as
Where shrinks to zero. Now I'm not sure if the statement is 100% correct, but why is it true?