2
,而我试图编译运行的代码构建定制terraform提供程序错误出
[[email protected] Netapp]# go build -o terraform-provider-xxxx
# github.com/hashicorp/terraform/config
../go/src/github.com/hashicorp/terraform/config/testing.go:9: t.Helper undefined (type *testing.T has no field or method Helper)
[[email protected] Netapp]# go version
go version go1.8.3 linux/amd64
有人可以帮助我了解什么是错在这里我打这个错误?
在此先感谢!
如果您使用go <1.9(请参阅[开发Terraform](https://github.com/hashicorp/terraform#developing-terraform)) – fernandezcuesta
请参阅https://golang.org/doc/go1。 9#测试辅助 – JimB