Let $X$ be banach space, $Y$ be normed space, $\mathcal A \subset \mathcal B(X, Y)$ be some set of continuous linear operators $X \to Y$. I need to prove that if $$\forall x \in X, g \in Y^* \;\; \sup_{A \in \mathcal A} |g(Ax)| < \infty,$$ then $$\sup_{A \in \mathcal A} ||A|| < \infty.$$
I have managed to use uniform boundedness principle to deduce $$\forall g \in Y^* \sup_{A \in \mathcal A} ||g \circ A|| <\infty.$$
I have no idea how to proceed.