Skip to content

Commit

Permalink
fix: fix go module name
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Oct 3, 2024
1 parent 32e8696 commit 83b50f9
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module terraform-provider-restapi
module github.com/thegeeklab/terraform-provider-restapi

go 1.23.2

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"net/url"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/provider"
Expand Down
6 changes: 3 additions & 3 deletions internal/provider/restobject_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"strconv"

"terraform-provider-restapi/internal/restapi/restclient"
"terraform-provider-restapi/internal/restapi/restobject"
"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restobject"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
6 changes: 3 additions & 3 deletions internal/provider/restobject_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"fmt"
"strconv"

"terraform-provider-restapi/internal/restapi/restclient"
"terraform-provider-restapi/internal/restapi/restobject"
"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restobject"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"strings"

"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-log/tflog"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"strings"

"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-log/tflog"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/restapi/restobject/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"terraform-provider-restapi/internal/testutils"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/testutils"

"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"reflect"

"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-log/tflog"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/find_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions internal/restapi/restobject/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"fmt"
"path/filepath"

"terraform-provider-restapi/internal/restapi/restclient"
"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/terraform-plugin-log/tflog"
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/jarcoal/httpmock"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"strings"

"terraform-provider-restapi/internal/utils"
"github.com/thegeeklab/terraform-provider-restapi/internal/utils"

"github.com/hashicorp/terraform-plugin-log/tflog"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/restapi/restobject/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"testing"

"terraform-provider-restapi/internal/restapi/restclient"
"github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient"

"github.com/jarcoal/httpmock"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"flag"
"log"

"terraform-provider-restapi/internal/provider"
"github.com/thegeeklab/terraform-provider-restapi/internal/provider"

"github.com/hashicorp/terraform-plugin-framework/providerserver"
)
Expand Down

0 comments on commit 83b50f9

Please sign in to comment.