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