Infer Go types for package from annotations on types.