Update to latest go/types API

Fixes #38