<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_go2nt(self, goids):
 """Get go2nt for given goids."""

        go2nt_all = self.grprobj.go2nt
        return {go:go2nt_all[go] for go in goids}