Dot notation struct access for golang