Let $E\subset \mathbb{C}$ be an open set and $f:E\to\mathbb{C}$ be a function. Let $S:=\{z\in\mathbb{C}:\left|z \right|=1\}$ be a circle in the complex plane. Then we can show that if $w\in \mathbb{C}$, then the directional derivative at $z$ in the direction $w$ satisfies the following equality:
$$ D_w f(z) = f'(z)w $$.
Now, I've been trying to deduce the Cauchy-Riemann equations from this, albeit unsuccessfully.
My attempt:
Let $f=u+iv=(u,v)$ for $u(x,y), v(x,y)$ some real functions in $\mathbb{R}^2$. Then the derivative of $f$ at $(x,y)$ is given by
\begin{bmatrix} u_x & u_y\\ v_x & v_y \end{bmatrix}
So, $$f'(z)w = \begin{bmatrix} u_x & u_y\\ v_x & v_y \end{bmatrix}\begin{bmatrix} x\\ y \end{bmatrix},$$
where $x^2+y^2=1$.
Unfortunately, I have no idea how to proceed from there. I believe there should be some property related directional derivatives, which would allow to proceed to the end.
I would definitely appreciate a hint.