Find an example for a $f\colon X\to Y$ which is Gâteaux-differentiable in a point $x_0$ but not continuous in this point $x_0$.
I am not good in finding examples but I thought of $$ f\colon\mathbb{R}\to\mathbb{R}, f(x):=\begin{cases}0, & x\leq 1\\1, & x>1\end{cases} $$ I guess on the one hand this function is not continuous in $x_0=1$ but the Gâteaux derivative $$ \eta=Df(1)[h]=\lim\limits_{t\to 0}\frac{f(1+th)-f(1)}{t}=0 $$ exists to my opinion.
Is this an appropriate example?
Edit
Isn't the function $$ F\colon\mathbb{R}\to\mathbb{R}, F(x):=\begin{cases}1, & x\neq z\\0, & x=z\end{cases} $$ Gâteaux-differentiable in $z$ and not continuous in $z$?