compare two structures in golang