Skip to content

Commit

Permalink
- Rename provider folder to civo
Browse files Browse the repository at this point in the history
- Change .travis.yml to use Go 1.13

Signed-off-by: Alejandro JNM <alejandrojnm@gmail.com>
  • Loading branch information
alejandrojnm committed Jan 24, 2020
1 parent 2ab8c47 commit 237f68b
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
- docker
language: go
go:
- "1.11.x"
- "1.13.x"

install:
# This script is used by the Travis build to install a cookie for
Expand Down
2 changes: 1 addition & 1 deletion provider/provider.go → civo/provider.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package civo

import (
"github.com/civo/civogo"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package civo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_network.go → civo/resource_network.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package civo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_volume.go → civo/resource_volume.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package civo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion provider/utils.go → civo/utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package civo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/civo/terraform-provider-civo

require (
github.com/aws/aws-sdk-go v1.25.39
github.com/civo/civogo v0.0.0-20200123124629-f66cbcbb6f2d
github.com/civo/civogo v0.0.0-20200123135111-b3aba767c3d7
github.com/hashicorp/terraform-plugin-sdk v1.3.0
golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d // indirect
)
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ github.com/civo/civogo v0.0.0-20200121103424-a69bef1d9ea8 h1:v6uezjqyqgivBSCcPH9
github.com/civo/civogo v0.0.0-20200121103424-a69bef1d9ea8/go.mod h1:QwPxaDertZ7sxu3Fdibu/JdXBJV3RqYZrh76YEbGLKg=
github.com/civo/civogo v0.0.0-20200123124629-f66cbcbb6f2d h1:uEPSnpfTL+S7OpW2p69TZ6+2Jo5dDD3WEgUhHbpye84=
github.com/civo/civogo v0.0.0-20200123124629-f66cbcbb6f2d/go.mod h1:QwPxaDertZ7sxu3Fdibu/JdXBJV3RqYZrh76YEbGLKg=
github.com/civo/civogo v0.0.0-20200123135111-b3aba767c3d7 h1:fHWdWnj9hbqOMW2j/NOMjwtURj7cIhrjodWvfmESG+s=
github.com/civo/civogo v0.0.0-20200123135111-b3aba767c3d7/go.mod h1:QwPxaDertZ7sxu3Fdibu/JdXBJV3RqYZrh76YEbGLKg=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package main

import (
"github.com/civo/terraform-provider-civo/provider"
"github.com/civo/terraform-provider-civo/civo"
"github.com/hashicorp/terraform-plugin-sdk/plugin"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: func() terraform.ResourceProvider {
return provider.Provider()
return civo.Provider()
},
})
}

0 comments on commit 237f68b

Please sign in to comment.