Update to latest go/types API

Fixes #38
Merge pull request #1 from axw/master

Merge