I am attempting to understand a proof in a paper I'm reading. I am stuck on the first line. We construct a box, R, in the complex plane. Then, by Green's theorem, we have
$$\int_{\partial R}\frac{\partial u}{\partial n} = 0$$
All we know about u is that it's holomorphic on a region containing the box R. If we are using Green's theorem, it seems to me that we need to show the divergence of u is zero since we are computing the flux of u around a closed path. I thought maybe this would follow from the Cauchy-Riemann equations, but it doesn't, since we have $\partial_{x} Re(u) = \partial_{y} Im(u)$ but we would need $\partial_{x} Re(u) + \partial_{y} Im(u) = 0$.
I am not good with complex analysis, so any help would be greatly appreciated!