Move types to go sourcegraph