The Gauss' theorem for gravitational field may be written as
In electrostatics, ∮→E.→ds = qϵo
Gravitation, - ∮→g.→ds = 4πGm
As q=m and 14πϵo=G