provider: Ensured Go 1.11 in TravisCI and README

provider: Run go fix
provider: Run go fmt
provider: Encode go version 1.11.5 to .go-version file
This commit is contained in:
Alex Pilon 2019-03-01 15:52:49 -05:00
parent b91a609c2b
commit 41dc1a8450
No known key found for this signature in database
GPG Key ID: 95659F6AEFC48D7E
2 changed files with 2 additions and 1 deletions

1
.go-version Normal file
View File

@ -0,0 +1 @@
1.11.5

View File

@ -38,7 +38,7 @@ See the [DigitalOcean Provider documentation](https://www.terraform.io/docs/prov
Developing the Provider
---------------------------
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.8+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.11+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.