type pt struct { x, y int } return &pt{22, 79} // allocates a pt object and returns a pointer to it.