diff --git a/README.md b/README.md index e020f300..61db7fdd 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,12 @@ The **go-atlassian** library is designed to simplify the process of building Go If you do not have [Go](https://golang.org/) installed yet, you can find installation instructions [here](https://golang.org/doc/install). Please note that the package requires Go version -1.17 or later for module support. +1.20 or later for module support. To pull the most recent version of **go-atlassian**, use `go get`. ``` -go get github.com/ctreminiom/go-atlassian +go get github.com/ctreminiom/go-atlassian/v2 ``` ------------------------- diff --git a/admin/api_client_impl.go b/admin/api_client_impl.go index fb48e7bb..899bae49 100644 --- a/admin/api_client_impl.go +++ b/admin/api_client_impl.go @@ -9,9 +9,9 @@ import ( "net/http" "net/url" - "github.com/ctreminiom/go-atlassian/admin/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/admin/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) const defaultAPIEndpoint = "https://api.atlassian.com/" diff --git a/admin/api_client_impl_test.go b/admin/api_client_impl_test.go index 1b161ce6..14823afe 100644 --- a/admin/api_client_impl_test.go +++ b/admin/api_client_impl_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/admin/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/admin/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/admin/internal/authentication_impl.go b/admin/internal/authentication_impl.go index 7f164434..e6a31ac0 100644 --- a/admin/internal/authentication_impl.go +++ b/admin/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/admin/internal/authentication_impl_test.go b/admin/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/admin/internal/authentication_impl_test.go +++ b/admin/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/admin/internal/organization_directory_impl.go b/admin/internal/organization_directory_impl.go index 5a60da9b..4e404c20 100644 --- a/admin/internal/organization_directory_impl.go +++ b/admin/internal/organization_directory_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" ) // NewOrganizationDirectoryService creates a new instance of OrganizationDirectoryService. diff --git a/admin/internal/organization_directory_impl_test.go b/admin/internal/organization_directory_impl_test.go index 47805edd..05607c20 100644 --- a/admin/internal/organization_directory_impl_test.go +++ b/admin/internal/organization_directory_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/organization_impl.go b/admin/internal/organization_impl.go index d466b66e..a84a2708 100644 --- a/admin/internal/organization_impl.go +++ b/admin/internal/organization_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" ) // NewOrganizationService creates a new instance of the OrganizationService. diff --git a/admin/internal/organization_impl_test.go b/admin/internal/organization_impl_test.go index 51b690a5..1d9a940b 100644 --- a/admin/internal/organization_impl_test.go +++ b/admin/internal/organization_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/organization_policy_impl.go b/admin/internal/organization_policy_impl.go index 3f82b1b3..24040014 100644 --- a/admin/internal/organization_policy_impl.go +++ b/admin/internal/organization_policy_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" "net/url" "strings" diff --git a/admin/internal/organization_policy_impl_test.go b/admin/internal/organization_policy_impl_test.go index 74308e77..c695ab70 100644 --- a/admin/internal/organization_policy_impl_test.go +++ b/admin/internal/organization_policy_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/scim_group_impl.go b/admin/internal/scim_group_impl.go index 4b7f1b82..a8756af1 100644 --- a/admin/internal/scim_group_impl.go +++ b/admin/internal/scim_group_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" "net/url" "strconv" diff --git a/admin/internal/scim_group_impl_test.go b/admin/internal/scim_group_impl_test.go index dcc018cf..380338a3 100644 --- a/admin/internal/scim_group_impl_test.go +++ b/admin/internal/scim_group_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/scim_schema_impl.go b/admin/internal/scim_schema_impl.go index 7a21a7c6..d5a18f13 100644 --- a/admin/internal/scim_schema_impl.go +++ b/admin/internal/scim_schema_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" ) diff --git a/admin/internal/scim_schema_impl_test.go b/admin/internal/scim_schema_impl_test.go index b6a1c0a2..20c8406a 100644 --- a/admin/internal/scim_schema_impl_test.go +++ b/admin/internal/scim_schema_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/scim_user_impl.go b/admin/internal/scim_user_impl.go index 2070d42c..f8cd9d5a 100644 --- a/admin/internal/scim_user_impl.go +++ b/admin/internal/scim_user_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" "net/url" "strconv" diff --git a/admin/internal/scim_user_impl_test.go b/admin/internal/scim_user_impl_test.go index 05d2b1a5..409b3d02 100644 --- a/admin/internal/scim_user_impl_test.go +++ b/admin/internal/scim_user_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/user_impl.go b/admin/internal/user_impl.go index 4c1732ac..ed36f776 100644 --- a/admin/internal/user_impl.go +++ b/admin/internal/user_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" "net/url" "strings" diff --git a/admin/internal/user_impl_test.go b/admin/internal/user_impl_test.go index e72e33a2..79409dd1 100644 --- a/admin/internal/user_impl_test.go +++ b/admin/internal/user_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/admin/internal/user_token_impl.go b/admin/internal/user_token_impl.go index 408b6e6f..c8c8ab22 100644 --- a/admin/internal/user_token_impl.go +++ b/admin/internal/user_token_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/admin" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/admin" "net/http" ) diff --git a/admin/internal/user_token_impl_test.go b/admin/internal/user_token_impl_test.go index b4deed26..aaf5ffe9 100644 --- a/admin/internal/user_token_impl_test.go +++ b/admin/internal/user_token_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/assets/api_client_impl.go b/assets/api_client_impl.go index 3ce4cf46..7b0d8b15 100644 --- a/assets/api_client_impl.go +++ b/assets/api_client_impl.go @@ -8,9 +8,9 @@ import ( "net/http" "net/url" - "github.com/ctreminiom/go-atlassian/assets/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/assets/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) const DefaultAssetsSite = "https://api.atlassian.com/" diff --git a/assets/api_client_impl_test.go b/assets/api_client_impl_test.go index 3ade18bb..f43243cb 100644 --- a/assets/api_client_impl_test.go +++ b/assets/api_client_impl_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/assets/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/assets/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/assets/internal/aql_impl.go b/assets/internal/aql_impl.go index 6b7ae621..21945719 100644 --- a/assets/internal/aql_impl.go +++ b/assets/internal/aql_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" "net/url" "strconv" diff --git a/assets/internal/aql_impl_test.go b/assets/internal/aql_impl_test.go index 0d47357d..008ba46d 100644 --- a/assets/internal/aql_impl_test.go +++ b/assets/internal/aql_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/assets/internal/authentication_impl.go b/assets/internal/authentication_impl.go index 7f164434..e6a31ac0 100644 --- a/assets/internal/authentication_impl.go +++ b/assets/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/assets/internal/authentication_impl_test.go b/assets/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/assets/internal/authentication_impl_test.go +++ b/assets/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/assets/internal/icon_impl.go b/assets/internal/icon_impl.go index f1ad5c5c..a382611c 100644 --- a/assets/internal/icon_impl.go +++ b/assets/internal/icon_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" ) diff --git a/assets/internal/icon_impl_test.go b/assets/internal/icon_impl_test.go index 2f659218..0da342a7 100644 --- a/assets/internal/icon_impl_test.go +++ b/assets/internal/icon_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/assets/internal/object_impl.go b/assets/internal/object_impl.go index 7f10412e..75d77114 100644 --- a/assets/internal/object_impl.go +++ b/assets/internal/object_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" "net/url" "strconv" diff --git a/assets/internal/object_impl_test.go b/assets/internal/object_impl_test.go index ac2b5752..37d5d2eb 100644 --- a/assets/internal/object_impl_test.go +++ b/assets/internal/object_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalObjectImpl_Get(t *testing.T) { diff --git a/assets/internal/object_schema_impl.go b/assets/internal/object_schema_impl.go index 624b7f00..6eca31df 100644 --- a/assets/internal/object_schema_impl.go +++ b/assets/internal/object_schema_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" "net/url" "strings" diff --git a/assets/internal/object_schema_impl_test.go b/assets/internal/object_schema_impl_test.go index a61ed86c..3f875784 100644 --- a/assets/internal/object_schema_impl_test.go +++ b/assets/internal/object_schema_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/assets/internal/object_type_attribute_impl.go b/assets/internal/object_type_attribute_impl.go index 2efb4222..ef03b091 100644 --- a/assets/internal/object_type_attribute_impl.go +++ b/assets/internal/object_type_attribute_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" ) diff --git a/assets/internal/object_type_attribute_impl_test.go b/assets/internal/object_type_attribute_impl_test.go index e736e1d5..963f9d8a 100644 --- a/assets/internal/object_type_attribute_impl_test.go +++ b/assets/internal/object_type_attribute_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalObjectTypeAttributeImpl_Create(t *testing.T) { diff --git a/assets/internal/object_type_impl.go b/assets/internal/object_type_impl.go index 75dc4458..60a36617 100644 --- a/assets/internal/object_type_impl.go +++ b/assets/internal/object_type_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/assets" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/assets" "net/http" "net/url" "strings" diff --git a/assets/internal/object_type_impl_test.go b/assets/internal/object_type_impl_test.go index bb6989c2..d4dd055e 100644 --- a/assets/internal/object_type_impl_test.go +++ b/assets/internal/object_type_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalObjectTypeImpl_Get(t *testing.T) { diff --git a/bitbucket/api_client_impl.go b/bitbucket/api_client_impl.go index 91f03f79..d7d01921 100644 --- a/bitbucket/api_client_impl.go +++ b/bitbucket/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/bitbucket/internal" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/bitbucket/internal" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // DefaultBitbucketSite is the default Bitbucket API site. diff --git a/bitbucket/api_client_impl_test.go b/bitbucket/api_client_impl_test.go index c8bd4c3d..aa257afb 100644 --- a/bitbucket/api_client_impl_test.go +++ b/bitbucket/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/bitbucket/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/bitbucket/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/bitbucket/internal/authentication_impl.go b/bitbucket/internal/authentication_impl.go index 4c540a27..58576c82 100644 --- a/bitbucket/internal/authentication_impl.go +++ b/bitbucket/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService returns a new instance of the AuthenticationService. diff --git a/bitbucket/internal/authentication_impl_test.go b/bitbucket/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/bitbucket/internal/authentication_impl_test.go +++ b/bitbucket/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/bitbucket/internal/workspace_impl.go b/bitbucket/internal/workspace_impl.go index 13ea6c84..234a59f8 100644 --- a/bitbucket/internal/workspace_impl.go +++ b/bitbucket/internal/workspace_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/bitbucket" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/bitbucket" ) // NewWorkspaceService handles communication with the workspace related methods of the Bitbucket API. diff --git a/bitbucket/internal/workspace_impl_test.go b/bitbucket/internal/workspace_impl_test.go index db7837ad..6a755949 100644 --- a/bitbucket/internal/workspace_impl_test.go +++ b/bitbucket/internal/workspace_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorkspaceServiceImpl_Get(t *testing.T) { diff --git a/bitbucket/internal/workspace_permissions_impl.go b/bitbucket/internal/workspace_permissions_impl.go index 1148171c..943d3df7 100644 --- a/bitbucket/internal/workspace_permissions_impl.go +++ b/bitbucket/internal/workspace_permissions_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/bitbucket" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/bitbucket" "net/http" "net/url" "strings" diff --git a/bitbucket/internal/workspace_permissions_impl_test.go b/bitbucket/internal/workspace_permissions_impl_test.go index 73e46f47..015fb4b3 100644 --- a/bitbucket/internal/workspace_permissions_impl_test.go +++ b/bitbucket/internal/workspace_permissions_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/bitbucket/internal/workspace_webhooks_impl.go b/bitbucket/internal/workspace_webhooks_impl.go index a7cef8ef..cb319925 100644 --- a/bitbucket/internal/workspace_webhooks_impl.go +++ b/bitbucket/internal/workspace_webhooks_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/bitbucket" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/bitbucket" ) // NewWorkspaceHookService creates a new WorkspaceHookService. diff --git a/bitbucket/internal/workspace_webhooks_impl_test.go b/bitbucket/internal/workspace_webhooks_impl_test.go index 884774ed..10171b3c 100644 --- a/bitbucket/internal/workspace_webhooks_impl_test.go +++ b/bitbucket/internal/workspace_webhooks_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorkspaceWebhookServiceImpl_Gets(t *testing.T) { diff --git a/confluence/api_client_impl.go b/confluence/api_client_impl.go index 6c4f5104..ac6cd931 100644 --- a/confluence/api_client_impl.go +++ b/confluence/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/confluence/internal" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/confluence/internal" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) func New(httpClient common.HTTPClient, site string) (*Client, error) { diff --git a/confluence/api_client_impl_test.go b/confluence/api_client_impl_test.go index 805ccce9..d6a50012 100644 --- a/confluence/api_client_impl_test.go +++ b/confluence/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/confluence/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/confluence/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/confluence/internal/analytics_impl.go b/confluence/internal/analytics_impl.go index 85a7f6ef..49dfda3c 100644 --- a/confluence/internal/analytics_impl.go +++ b/confluence/internal/analytics_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" ) // NewAnalyticsService creates a new instance of AnalyticsService. diff --git a/confluence/internal/analytics_impl_test.go b/confluence/internal/analytics_impl_test.go index 9807b49e..45d9be98 100644 --- a/confluence/internal/analytics_impl_test.go +++ b/confluence/internal/analytics_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalAnalyticsServiceImpl_Get(t *testing.T) { diff --git a/confluence/internal/attachment_content_impl.go b/confluence/internal/attachment_content_impl.go index 295342dc..7a61be8f 100644 --- a/confluence/internal/attachment_content_impl.go +++ b/confluence/internal/attachment_content_impl.go @@ -4,9 +4,9 @@ import ( "bytes" "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "io" "mime/multipart" "net/http" diff --git a/confluence/internal/attachment_content_impl_test.go b/confluence/internal/attachment_content_impl_test.go index 5ad71542..a4f16605 100644 --- a/confluence/internal/attachment_content_impl_test.go +++ b/confluence/internal/attachment_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "io" diff --git a/confluence/internal/attachment_impl.go b/confluence/internal/attachment_impl.go index 9240b1db..33467adc 100644 --- a/confluence/internal/attachment_impl.go +++ b/confluence/internal/attachment_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" ) // NewAttachmentService creates a new instance of AttachmentService. diff --git a/confluence/internal/attachment_impl_test.go b/confluence/internal/attachment_impl_test.go index 05dff89a..6f5aecd8 100644 --- a/confluence/internal/attachment_impl_test.go +++ b/confluence/internal/attachment_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/attachment_version_impl.go b/confluence/internal/attachment_version_impl.go index 724b4647..115f7851 100644 --- a/confluence/internal/attachment_version_impl.go +++ b/confluence/internal/attachment_version_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/attachment_version_impl_test.go b/confluence/internal/attachment_version_impl_test.go index a0471529..7f99de88 100644 --- a/confluence/internal/attachment_version_impl_test.go +++ b/confluence/internal/attachment_version_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/authentication_impl.go b/confluence/internal/authentication_impl.go index 1b9e8462..33384fd5 100644 --- a/confluence/internal/authentication_impl.go +++ b/confluence/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/confluence/internal/authentication_impl_test.go b/confluence/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/confluence/internal/authentication_impl_test.go +++ b/confluence/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/confluence/internal/children_descendants_content_impl.go b/confluence/internal/children_descendants_content_impl.go index f50ebfd1..1543bc89 100644 --- a/confluence/internal/children_descendants_content_impl.go +++ b/confluence/internal/children_descendants_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/children_descendants_content_impl_test.go b/confluence/internal/children_descendants_content_impl_test.go index 01c7adb4..88861d00 100644 --- a/confluence/internal/children_descendants_content_impl_test.go +++ b/confluence/internal/children_descendants_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/comment_content_impl.go b/confluence/internal/comment_content_impl.go index 05feaaf5..c2bdb43e 100644 --- a/confluence/internal/comment_content_impl.go +++ b/confluence/internal/comment_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/comment_content_impl_test.go b/confluence/internal/comment_content_impl_test.go index f94d79e5..9ae877fb 100644 --- a/confluence/internal/comment_content_impl_test.go +++ b/confluence/internal/comment_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/content_impl.go b/confluence/internal/content_impl.go index 97f0f65a..0f01a84c 100644 --- a/confluence/internal/content_impl.go +++ b/confluence/internal/content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/content_impl_test.go b/confluence/internal/content_impl_test.go index 8f1816a7..e8aaef61 100644 --- a/confluence/internal/content_impl_test.go +++ b/confluence/internal/content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/custom_content_impl.go b/confluence/internal/custom_content_impl.go index 9375ba98..b50e42bf 100644 --- a/confluence/internal/custom_content_impl.go +++ b/confluence/internal/custom_content_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" ) // NewCustomContentService creates a new instance of CustomContentService. diff --git a/confluence/internal/custom_content_impl_test.go b/confluence/internal/custom_content_impl_test.go index 6b928298..9cec0381 100644 --- a/confluence/internal/custom_content_impl_test.go +++ b/confluence/internal/custom_content_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalCustomContentServiceImpl_Gets(t *testing.T) { diff --git a/confluence/internal/label_content_impl.go b/confluence/internal/label_content_impl.go index a2d00ace..c00d0a65 100644 --- a/confluence/internal/label_content_impl.go +++ b/confluence/internal/label_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/label_content_impl_test.go b/confluence/internal/label_content_impl_test.go index bb1e0a80..3aada72e 100644 --- a/confluence/internal/label_content_impl_test.go +++ b/confluence/internal/label_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/label_impl.go b/confluence/internal/label_impl.go index 2e642d90..aba045c4 100644 --- a/confluence/internal/label_impl.go +++ b/confluence/internal/label_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/label_impl_test.go b/confluence/internal/label_impl_test.go index d899702c..3f5ff96e 100644 --- a/confluence/internal/label_impl_test.go +++ b/confluence/internal/label_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/page_impl.go b/confluence/internal/page_impl.go index 1db08ff1..1deec776 100644 --- a/confluence/internal/page_impl.go +++ b/confluence/internal/page_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/page_impl_test.go b/confluence/internal/page_impl_test.go index 60584a5d..4d76cf85 100644 --- a/confluence/internal/page_impl_test.go +++ b/confluence/internal/page_impl_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalPageImpl_Get(t *testing.T) { diff --git a/confluence/internal/permission_content_impl.go b/confluence/internal/permission_content_impl.go index 3fc57c97..454a9ded 100644 --- a/confluence/internal/permission_content_impl.go +++ b/confluence/internal/permission_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" ) diff --git a/confluence/internal/permission_content_impl_test.go b/confluence/internal/permission_content_impl_test.go index ef238d6d..2f196cb5 100644 --- a/confluence/internal/permission_content_impl_test.go +++ b/confluence/internal/permission_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/permission_space_impl.go b/confluence/internal/permission_space_impl.go index 11fa3658..51ccf615 100644 --- a/confluence/internal/permission_space_impl.go +++ b/confluence/internal/permission_space_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" ) diff --git a/confluence/internal/permission_space_impl_test.go b/confluence/internal/permission_space_impl_test.go index 15d9ee45..e733b96e 100644 --- a/confluence/internal/permission_space_impl_test.go +++ b/confluence/internal/permission_space_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/properties_content_impl.go b/confluence/internal/properties_content_impl.go index 34e59dfa..9edf4e72 100644 --- a/confluence/internal/properties_content_impl.go +++ b/confluence/internal/properties_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/properties_content_impl_test.go b/confluence/internal/properties_content_impl_test.go index fb4d4b27..3f89dd66 100644 --- a/confluence/internal/properties_content_impl_test.go +++ b/confluence/internal/properties_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/restriction_content_impl.go b/confluence/internal/restriction_content_impl.go index d40b932a..f10958a9 100644 --- a/confluence/internal/restriction_content_impl.go +++ b/confluence/internal/restriction_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/restriction_content_impl_test.go b/confluence/internal/restriction_content_impl_test.go index e821c706..b0a0c2dc 100644 --- a/confluence/internal/restriction_content_impl_test.go +++ b/confluence/internal/restriction_content_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalRestrictionImpl_Gets(t *testing.T) { diff --git a/confluence/internal/restriction_operation_content_impl.go b/confluence/internal/restriction_operation_content_impl.go index 593b4ee1..c9d5e683 100644 --- a/confluence/internal/restriction_operation_content_impl.go +++ b/confluence/internal/restriction_operation_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/restriction_operation_content_impl_test.go b/confluence/internal/restriction_operation_content_impl_test.go index d01dbb40..34b00a62 100644 --- a/confluence/internal/restriction_operation_content_impl_test.go +++ b/confluence/internal/restriction_operation_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/restriction_operation_group_content_impl.go b/confluence/internal/restriction_operation_group_content_impl.go index d1b32e13..6ad09f4a 100644 --- a/confluence/internal/restriction_operation_group_content_impl.go +++ b/confluence/internal/restriction_operation_group_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "github.com/google/uuid" "net/http" "strings" diff --git a/confluence/internal/restriction_operation_group_content_impl_test.go b/confluence/internal/restriction_operation_group_content_impl_test.go index 5b77344b..8e693a38 100644 --- a/confluence/internal/restriction_operation_group_content_impl_test.go +++ b/confluence/internal/restriction_operation_group_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/restriction_operation_user_content_impl.go b/confluence/internal/restriction_operation_user_content_impl.go index 310f8c44..33f6d885 100644 --- a/confluence/internal/restriction_operation_user_content_impl.go +++ b/confluence/internal/restriction_operation_user_content_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" ) diff --git a/confluence/internal/restriction_operation_user_content_impl_test.go b/confluence/internal/restriction_operation_user_content_impl_test.go index efb6eabe..b9b51cac 100644 --- a/confluence/internal/restriction_operation_user_content_impl_test.go +++ b/confluence/internal/restriction_operation_user_content_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/search_impl.go b/confluence/internal/search_impl.go index b65121c4..e18df3d3 100644 --- a/confluence/internal/search_impl.go +++ b/confluence/internal/search_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/search_impl_test.go b/confluence/internal/search_impl_test.go index 715904ff..7d1adf9b 100644 --- a/confluence/internal/search_impl_test.go +++ b/confluence/internal/search_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/space_impl.go b/confluence/internal/space_impl.go index 5256c52e..a0d111fa 100644 --- a/confluence/internal/space_impl.go +++ b/confluence/internal/space_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/space_impl_test.go b/confluence/internal/space_impl_test.go index e263c193..6493a757 100644 --- a/confluence/internal/space_impl_test.go +++ b/confluence/internal/space_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/space_v2_impl.go b/confluence/internal/space_v2_impl.go index 40fb8185..123c31e9 100644 --- a/confluence/internal/space_v2_impl.go +++ b/confluence/internal/space_v2_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/space_v2_impl_test.go b/confluence/internal/space_v2_impl_test.go index f1f05dbb..e218c3b0 100644 --- a/confluence/internal/space_v2_impl_test.go +++ b/confluence/internal/space_v2_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/task_impl.go b/confluence/internal/task_impl.go index 51d27528..4fa88d81 100644 --- a/confluence/internal/task_impl.go +++ b/confluence/internal/task_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/task_impl_test.go b/confluence/internal/task_impl_test.go index 5f5acd12..52d70f5c 100644 --- a/confluence/internal/task_impl_test.go +++ b/confluence/internal/task_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/internal/version_content.go b/confluence/internal/version_content.go index b535f819..e3623e11 100644 --- a/confluence/internal/version_content.go +++ b/confluence/internal/version_content.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/confluence" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/confluence" "net/http" "net/url" "strconv" diff --git a/confluence/internal/version_content_test.go b/confluence/internal/version_content_test.go index ee618466..3dc303e6 100644 --- a/confluence/internal/version_content_test.go +++ b/confluence/internal/version_content_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/confluence/v2/api_client_impl.go b/confluence/v2/api_client_impl.go index 38866e82..c2f78e4d 100644 --- a/confluence/v2/api_client_impl.go +++ b/confluence/v2/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/confluence/internal" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/confluence/internal" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) func New(httpClient common.HTTPClient, site string) (*Client, error) { diff --git a/confluence/v2/api_client_impl_test.go b/confluence/v2/api_client_impl_test.go index 805ccce9..d6a50012 100644 --- a/confluence/v2/api_client_impl_test.go +++ b/confluence/v2/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/confluence/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/confluence/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/go.mod b/go.mod index 439d58d5..9a15f1e7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/ctreminiom/go-atlassian +module github.com/ctreminiom/go-atlassian/v2 -go 1.14 +go 1.20 require ( dario.cat/mergo v1.0.1 @@ -9,3 +9,12 @@ require ( github.com/stretchr/testify v1.9.0 github.com/tidwall/gjson v1.18.0 ) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/objx v0.5.2 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) diff --git a/go.sum b/go.sum index bd1c4e3c..30848f56 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,5 @@ dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -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= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM= @@ -11,14 +10,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= @@ -27,10 +20,8 @@ github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/jira/agile/api_client_impl.go b/jira/agile/api_client_impl.go index aaedf099..3f15892f 100644 --- a/jira/agile/api_client_impl.go +++ b/jira/agile/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/jira/agile/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/jira/agile/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) func New(httpClient common.HTTPClient, site string) (*Client, error) { diff --git a/jira/agile/api_client_impl_test.go b/jira/agile/api_client_impl_test.go index 2daf1e7d..63787daa 100644 --- a/jira/agile/api_client_impl_test.go +++ b/jira/agile/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/jira/agile/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/jira/agile/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/jira/agile/internal/authentication_impl.go b/jira/agile/internal/authentication_impl.go index 49c37eb7..8ea5d2aa 100644 --- a/jira/agile/internal/authentication_impl.go +++ b/jira/agile/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/jira/agile/internal/authentication_impl_test.go b/jira/agile/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/jira/agile/internal/authentication_impl_test.go +++ b/jira/agile/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/jira/agile/internal/board_backlog_impl.go b/jira/agile/internal/board_backlog_impl.go index 39ccca0d..c158db32 100644 --- a/jira/agile/internal/board_backlog_impl.go +++ b/jira/agile/internal/board_backlog_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/agile" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/agile" ) // NewBoardBacklogService creates a new instance of BoardBacklogService. diff --git a/jira/agile/internal/board_backlog_impl_test.go b/jira/agile/internal/board_backlog_impl_test.go index 8fa79b3a..ea25882f 100644 --- a/jira/agile/internal/board_backlog_impl_test.go +++ b/jira/agile/internal/board_backlog_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalBoardBacklogImpl_Move(t *testing.T) { diff --git a/jira/agile/internal/board_impl.go b/jira/agile/internal/board_impl.go index 53aeacbc..dc95dc2c 100644 --- a/jira/agile/internal/board_impl.go +++ b/jira/agile/internal/board_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/agile" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/agile" ) // NewBoardService creates a new instance of BoardService. diff --git a/jira/agile/internal/board_impl_test.go b/jira/agile/internal/board_impl_test.go index 697743d4..a7f68df5 100644 --- a/jira/agile/internal/board_impl_test.go +++ b/jira/agile/internal/board_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_BoardService_Get(t *testing.T) { diff --git a/jira/agile/internal/epic_impl.go b/jira/agile/internal/epic_impl.go index ac1e4ea0..5ef555bd 100644 --- a/jira/agile/internal/epic_impl.go +++ b/jira/agile/internal/epic_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/agile" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/agile" ) // NewEpicService creates a new instance of EpicService. diff --git a/jira/agile/internal/epic_impl_test.go b/jira/agile/internal/epic_impl_test.go index 1d2178da..68b70619 100644 --- a/jira/agile/internal/epic_impl_test.go +++ b/jira/agile/internal/epic_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_EpicService_Get(t *testing.T) { diff --git a/jira/agile/internal/sprint_impl.go b/jira/agile/internal/sprint_impl.go index 1e764fb7..846a39f4 100644 --- a/jira/agile/internal/sprint_impl.go +++ b/jira/agile/internal/sprint_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/agile" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/agile" "net/http" "net/url" "strconv" diff --git a/jira/agile/internal/sprint_impl_test.go b/jira/agile/internal/sprint_impl_test.go index c7cbd1fd..719e31e7 100644 --- a/jira/agile/internal/sprint_impl_test.go +++ b/jira/agile/internal/sprint_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_SprintService_Get(t *testing.T) { diff --git a/jira/internal/announcement_banner_impl.go b/jira/internal/announcement_banner_impl.go index 45efb4e7..c972524a 100644 --- a/jira/internal/announcement_banner_impl.go +++ b/jira/internal/announcement_banner_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewAnnouncementBannerService creates a new instance of AnnouncementBannerService. diff --git a/jira/internal/announcement_banner_impl_test.go b/jira/internal/announcement_banner_impl_test.go index 61da4d66..5ac6e37d 100644 --- a/jira/internal/announcement_banner_impl_test.go +++ b/jira/internal/announcement_banner_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/application_role_impl.go b/jira/internal/application_role_impl.go index c0be0f4d..ac48525a 100644 --- a/jira/internal/application_role_impl.go +++ b/jira/internal/application_role_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" ) diff --git a/jira/internal/application_role_impl_test.go b/jira/internal/application_role_impl_test.go index 32c24f6c..37e5c6b5 100644 --- a/jira/internal/application_role_impl_test.go +++ b/jira/internal/application_role_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/jira/internal/attachment_impl.go b/jira/internal/attachment_impl.go index cabdee56..56a52560 100644 --- a/jira/internal/attachment_impl.go +++ b/jira/internal/attachment_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssueAttachmentService creates a new instance of IssueAttachmentService. diff --git a/jira/internal/attachment_impl_test.go b/jira/internal/attachment_impl_test.go index 24ec331a..f7755451 100644 --- a/jira/internal/attachment_impl_test.go +++ b/jira/internal/attachment_impl_test.go @@ -12,9 +12,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueAttachmentServiceImpl_Settings(t *testing.T) { diff --git a/jira/internal/audit_impl.go b/jira/internal/audit_impl.go index c5830066..bb4c058b 100644 --- a/jira/internal/audit_impl.go +++ b/jira/internal/audit_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/audit_impl_test.go b/jira/internal/audit_impl_test.go index aac678e2..6e44cc60 100644 --- a/jira/internal/audit_impl_test.go +++ b/jira/internal/audit_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/authentication_impl.go b/jira/internal/authentication_impl.go index fd7371f1..293d96ef 100644 --- a/jira/internal/authentication_impl.go +++ b/jira/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/jira/internal/authentication_impl_test.go b/jira/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/jira/internal/authentication_impl_test.go +++ b/jira/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/jira/internal/comment_impl.go b/jira/internal/comment_impl.go index 5e9a0a92..42a09cf1 100644 --- a/jira/internal/comment_impl.go +++ b/jira/internal/comment_impl.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" ) // NewCommentService creates a new instance of CommentADFService and CommentRichTextService. diff --git a/jira/internal/comment_impl_adf.go b/jira/internal/comment_impl_adf.go index be041f99..ac4a2ae4 100644 --- a/jira/internal/comment_impl_adf.go +++ b/jira/internal/comment_impl_adf.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // CommentADFService provides methods to interact with comment operations in Jira Service Management using ADF format. diff --git a/jira/internal/comment_impl_adf_test.go b/jira/internal/comment_impl_adf_test.go index b48a2d81..2d8d52ee 100644 --- a/jira/internal/comment_impl_adf_test.go +++ b/jira/internal/comment_impl_adf_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalAdfCommentImpl_Gets(t *testing.T) { diff --git a/jira/internal/comment_impl_rich_text.go b/jira/internal/comment_impl_rich_text.go index e3594646..3d355e76 100644 --- a/jira/internal/comment_impl_rich_text.go +++ b/jira/internal/comment_impl_rich_text.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // CommentRichTextService provides methods to interact with comment operations in Jira Service Management using Rich Text format. diff --git a/jira/internal/comment_impl_rich_text_test.go b/jira/internal/comment_impl_rich_text_test.go index ee190640..c9f99ba3 100644 --- a/jira/internal/comment_impl_rich_text_test.go +++ b/jira/internal/comment_impl_rich_text_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalRichTextCommentImpl_Gets(t *testing.T) { diff --git a/jira/internal/dashboard_impl.go b/jira/internal/dashboard_impl.go index 54954f26..cf1a7afa 100644 --- a/jira/internal/dashboard_impl.go +++ b/jira/internal/dashboard_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewDashboardService creates a new instance of DashboardService. diff --git a/jira/internal/dashboard_impl_test.go b/jira/internal/dashboard_impl_test.go index ff25b86d..570021da 100644 --- a/jira/internal/dashboard_impl_test.go +++ b/jira/internal/dashboard_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestDashboardService_Copy(t *testing.T) { diff --git a/jira/internal/field_configuration_impl.go b/jira/internal/field_configuration_impl.go index 5183c5ab..65822267 100644 --- a/jira/internal/field_configuration_impl.go +++ b/jira/internal/field_configuration_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/field_configuration_impl_test.go b/jira/internal/field_configuration_impl_test.go index df759054..caf3c2e1 100644 --- a/jira/internal/field_configuration_impl_test.go +++ b/jira/internal/field_configuration_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/field_configuration_item_impl.go b/jira/internal/field_configuration_item_impl.go index 29f76c13..22323689 100644 --- a/jira/internal/field_configuration_item_impl.go +++ b/jira/internal/field_configuration_item_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/field_configuration_item_impl_test.go b/jira/internal/field_configuration_item_impl_test.go index 54151996..d95c4414 100644 --- a/jira/internal/field_configuration_item_impl_test.go +++ b/jira/internal/field_configuration_item_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/field_configuration_scheme.go b/jira/internal/field_configuration_scheme.go index cb515ee1..43e6cd05 100644 --- a/jira/internal/field_configuration_scheme.go +++ b/jira/internal/field_configuration_scheme.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssueFieldConfigurationSchemeService creates a new instance of IssueFieldConfigSchemeService. diff --git a/jira/internal/field_configuration_scheme_test.go b/jira/internal/field_configuration_scheme_test.go index 1db1ba9b..90da09f0 100644 --- a/jira/internal/field_configuration_scheme_test.go +++ b/jira/internal/field_configuration_scheme_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueFieldConfigSchemeServiceImpl_Gets(t *testing.T) { diff --git a/jira/internal/field_context_impl.go b/jira/internal/field_context_impl.go index 6a93c2ae..ab3caadc 100644 --- a/jira/internal/field_context_impl.go +++ b/jira/internal/field_context_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssueFieldContextService creates a new instance of IssueFieldContextService. diff --git a/jira/internal/field_context_impl_test.go b/jira/internal/field_context_impl_test.go index bbb473af..cf02071d 100644 --- a/jira/internal/field_context_impl_test.go +++ b/jira/internal/field_context_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueFieldContextServiceImpl_Gets(t *testing.T) { diff --git a/jira/internal/field_context_option_impl.go b/jira/internal/field_context_option_impl.go index ea9de1d0..b34dc9d0 100644 --- a/jira/internal/field_context_option_impl.go +++ b/jira/internal/field_context_option_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssueFieldContextOptionService creates a new instance of IssueFieldContextOptionService. diff --git a/jira/internal/field_context_option_impl_test.go b/jira/internal/field_context_option_impl_test.go index e694c8d7..da3ae4f8 100644 --- a/jira/internal/field_context_option_impl_test.go +++ b/jira/internal/field_context_option_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueFieldContextOptionServiceImpl_Gets(t *testing.T) { diff --git a/jira/internal/field_impl.go b/jira/internal/field_impl.go index 926133ef..ee2b1630 100644 --- a/jira/internal/field_impl.go +++ b/jira/internal/field_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssueFieldService creates a new instance of IssueFieldService. diff --git a/jira/internal/field_impl_test.go b/jira/internal/field_impl_test.go index 76ea4ae8..6abb8311 100644 --- a/jira/internal/field_impl_test.go +++ b/jira/internal/field_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueFieldServiceImpl_Gets(t *testing.T) { diff --git a/jira/internal/field_trash_impl.go b/jira/internal/field_trash_impl.go index d6748871..233ec9bb 100644 --- a/jira/internal/field_trash_impl.go +++ b/jira/internal/field_trash_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/field_trash_impl_test.go b/jira/internal/field_trash_impl_test.go index e859075a..6bc4239e 100644 --- a/jira/internal/field_trash_impl_test.go +++ b/jira/internal/field_trash_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/filter_impl.go b/jira/internal/filter_impl.go index 254f7cd1..c223b7da 100644 --- a/jira/internal/filter_impl.go +++ b/jira/internal/filter_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewFilterService creates a new instance of FilterService. diff --git a/jira/internal/filter_impl_test.go b/jira/internal/filter_impl_test.go index 5e28ae08..5bc76057 100644 --- a/jira/internal/filter_impl_test.go +++ b/jira/internal/filter_impl_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestFilterService_Create(t *testing.T) { diff --git a/jira/internal/filter_share_impl.go b/jira/internal/filter_share_impl.go index e4047e9f..9ccca0c7 100644 --- a/jira/internal/filter_share_impl.go +++ b/jira/internal/filter_share_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewFilterShareService creates a new instance of FilterShareService. diff --git a/jira/internal/filter_share_impl_test.go b/jira/internal/filter_share_impl_test.go index eb1c60e7..d34a0dbd 100644 --- a/jira/internal/filter_share_impl_test.go +++ b/jira/internal/filter_share_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestFilterShareService_Scope(t *testing.T) { diff --git a/jira/internal/group_impl.go b/jira/internal/group_impl.go index 3268e0b9..842ef06b 100644 --- a/jira/internal/group_impl.go +++ b/jira/internal/group_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewGroupService creates a new instance of GroupService. diff --git a/jira/internal/group_impl_test.go b/jira/internal/group_impl_test.go index 1483860a..9a5bdf0c 100644 --- a/jira/internal/group_impl_test.go +++ b/jira/internal/group_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalGroupServiceImpl_Create(t *testing.T) { diff --git a/jira/internal/group_user_picker_impl.go b/jira/internal/group_user_picker_impl.go index 60e812c5..179a1279 100644 --- a/jira/internal/group_user_picker_impl.go +++ b/jira/internal/group_user_picker_impl.go @@ -7,9 +7,9 @@ import ( "github.com/google/go-querystring/query" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewGroupUserPickerService creates a new GroupUserPickerService instance. diff --git a/jira/internal/group_user_picker_impl_test.go b/jira/internal/group_user_picker_impl_test.go index baab2bd9..cc7c8499 100644 --- a/jira/internal/group_user_picker_impl_test.go +++ b/jira/internal/group_user_picker_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalGroupUserPickerServiceImpl_Find(t *testing.T) { diff --git a/jira/internal/issue_impl.go b/jira/internal/issue_impl.go index 41140269..7a0c9109 100644 --- a/jira/internal/issue_impl.go +++ b/jira/internal/issue_impl.go @@ -6,8 +6,8 @@ import ( "net/http" "net/url" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" ) // IssueServices groups various services related to issue management in Jira Service Management. diff --git a/jira/internal/issue_impl_adf.go b/jira/internal/issue_impl_adf.go index ff7462cc..9b5b6b03 100644 --- a/jira/internal/issue_impl_adf.go +++ b/jira/internal/issue_impl_adf.go @@ -9,9 +9,9 @@ import ( "dario.cat/mergo" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // IssueADFService provides methods to manage issues in Jira Service Management using the ADF format. diff --git a/jira/internal/issue_impl_adf_test.go b/jira/internal/issue_impl_adf_test.go index bda19e4b..f63375bd 100644 --- a/jira/internal/issue_impl_adf_test.go +++ b/jira/internal/issue_impl_adf_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalIssueADFServiceImpl_Delete(t *testing.T) { diff --git a/jira/internal/issue_impl_rich_text.go b/jira/internal/issue_impl_rich_text.go index 90d0692e..c5f5e245 100644 --- a/jira/internal/issue_impl_rich_text.go +++ b/jira/internal/issue_impl_rich_text.go @@ -9,9 +9,9 @@ import ( "dario.cat/mergo" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // IssueRichTextService provides methods to manage issues in Jira Service Management using the rich text format. diff --git a/jira/internal/issue_impl_rich_text_test.go b/jira/internal/issue_impl_rich_text_test.go index ad0cffc5..0ca41b7e 100644 --- a/jira/internal/issue_impl_rich_text_test.go +++ b/jira/internal/issue_impl_rich_text_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalRichTextServiceImpl_Delete(t *testing.T) { diff --git a/jira/internal/issue_impl_test.go b/jira/internal/issue_impl_test.go index c555f87f..bbefd4dd 100644 --- a/jira/internal/issue_impl_test.go +++ b/jira/internal/issue_impl_test.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" "github.com/stretchr/testify/assert" "testing" ) diff --git a/jira/internal/issue_property_impl.go b/jira/internal/issue_property_impl.go index 92092cce..a7e3f74f 100644 --- a/jira/internal/issue_property_impl.go +++ b/jira/internal/issue_property_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewIssuePropertyService creates a new instance of the IssuePropertyService. diff --git a/jira/internal/issue_property_impl_test.go b/jira/internal/issue_property_impl_test.go index 2d0bf093..b3a2cb89 100644 --- a/jira/internal/issue_property_impl_test.go +++ b/jira/internal/issue_property_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/jql_impl.go b/jira/internal/jql_impl.go index 88db4465..8329810a 100644 --- a/jira/internal/jql_impl.go +++ b/jira/internal/jql_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strings" diff --git a/jira/internal/jql_impl_test.go b/jira/internal/jql_impl_test.go index a8dc5798..060e72e7 100644 --- a/jira/internal/jql_impl_test.go +++ b/jira/internal/jql_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/label_impl.go b/jira/internal/label_impl.go index 1c4cf491..50d285e1 100644 --- a/jira/internal/label_impl.go +++ b/jira/internal/label_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/label_impl_test.go b/jira/internal/label_impl_test.go index 1108c355..fb8b3be4 100644 --- a/jira/internal/label_impl_test.go +++ b/jira/internal/label_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/link_impl.go b/jira/internal/link_impl.go index 117d8ac4..0cf2061b 100644 --- a/jira/internal/link_impl.go +++ b/jira/internal/link_impl.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" ) // NewLinkService creates new instances of LinkADFService and LinkRichTextService. diff --git a/jira/internal/link_impl_adf.go b/jira/internal/link_impl_adf.go index 10e3c737..4b630952 100644 --- a/jira/internal/link_impl_adf.go +++ b/jira/internal/link_impl_adf.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) type LinkADFService struct { diff --git a/jira/internal/link_impl_adf_test.go b/jira/internal/link_impl_adf_test.go index 960135b2..4feb98b0 100644 --- a/jira/internal/link_impl_adf_test.go +++ b/jira/internal/link_impl_adf_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalLinkADFServiceImpl_Get(t *testing.T) { diff --git a/jira/internal/link_impl_rich_text.go b/jira/internal/link_impl_rich_text.go index fa78bb6a..97c44835 100644 --- a/jira/internal/link_impl_rich_text.go +++ b/jira/internal/link_impl_rich_text.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // LinkRichTextService provides methods to manage issue links in Jira Service Management using the rich text format. diff --git a/jira/internal/link_impl_rich_text_test.go b/jira/internal/link_impl_rich_text_test.go index afbc28a9..1bfd01e9 100644 --- a/jira/internal/link_impl_rich_text_test.go +++ b/jira/internal/link_impl_rich_text_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalLinkRichTextServiceImpl_Get(t *testing.T) { diff --git a/jira/internal/link_impl_test.go b/jira/internal/link_impl_test.go index f35f23a9..6c22da5c 100644 --- a/jira/internal/link_impl_test.go +++ b/jira/internal/link_impl_test.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" "github.com/stretchr/testify/assert" "testing" ) diff --git a/jira/internal/link_type_impl.go b/jira/internal/link_type_impl.go index eea8dc0c..1ffa65f9 100644 --- a/jira/internal/link_type_impl.go +++ b/jira/internal/link_type_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewLinkTypeService creates a new instance of LinkTypeService. diff --git a/jira/internal/link_type_impl_test.go b/jira/internal/link_type_impl_test.go index 42fb2940..cbef41df 100644 --- a/jira/internal/link_type_impl_test.go +++ b/jira/internal/link_type_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalLinkTypeImpl_Gets(t *testing.T) { diff --git a/jira/internal/metadata_impl.go b/jira/internal/metadata_impl.go index 798d9c53..d462a36a 100644 --- a/jira/internal/metadata_impl.go +++ b/jira/internal/metadata_impl.go @@ -9,9 +9,9 @@ import ( "github.com/tidwall/gjson" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewMetadataService creates a new instance of MetadataService. diff --git a/jira/internal/metadata_impl_test.go b/jira/internal/metadata_impl_test.go index 9fb976fd..92167a21 100644 --- a/jira/internal/metadata_impl_test.go +++ b/jira/internal/metadata_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/tidwall/gjson" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalMetadataImpl_Get(t *testing.T) { diff --git a/jira/internal/myself_impl.go b/jira/internal/myself_impl.go index f271cefb..a43145a5 100644 --- a/jira/internal/myself_impl.go +++ b/jira/internal/myself_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strings" diff --git a/jira/internal/myself_impl_test.go b/jira/internal/myself_impl_test.go index e90a2006..33bddd2d 100644 --- a/jira/internal/myself_impl_test.go +++ b/jira/internal/myself_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/notification_scheme_impl.go b/jira/internal/notification_scheme_impl.go index 81055ee0..9d0e7a7b 100644 --- a/jira/internal/notification_scheme_impl.go +++ b/jira/internal/notification_scheme_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewNotificationSchemeService creates a new instance of NotificationSchemeService. diff --git a/jira/internal/notification_scheme_impl_test.go b/jira/internal/notification_scheme_impl_test.go index ec81487c..c7df3c49 100644 --- a/jira/internal/notification_scheme_impl_test.go +++ b/jira/internal/notification_scheme_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/permission_impl.go b/jira/internal/permission_impl.go index ee9b06db..054c178f 100644 --- a/jira/internal/permission_impl.go +++ b/jira/internal/permission_impl.go @@ -4,9 +4,9 @@ import ( "context" "encoding/json" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" ) diff --git a/jira/internal/permission_impl_test.go b/jira/internal/permission_impl_test.go index 880b7b62..a6f809e8 100644 --- a/jira/internal/permission_impl_test.go +++ b/jira/internal/permission_impl_test.go @@ -4,9 +4,9 @@ import ( "bytes" "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/permission_scheme_grant_impl.go b/jira/internal/permission_scheme_grant_impl.go index f92dd4e3..455a1b91 100644 --- a/jira/internal/permission_scheme_grant_impl.go +++ b/jira/internal/permission_scheme_grant_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewPermissionSchemeGrantService creates a new instance of PermissionSchemeGrantService. diff --git a/jira/internal/permission_scheme_grant_impl_test.go b/jira/internal/permission_scheme_grant_impl_test.go index 1a4ab909..64053c8c 100644 --- a/jira/internal/permission_scheme_grant_impl_test.go +++ b/jira/internal/permission_scheme_grant_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestPermissionSchemeGrantService_Create(t *testing.T) { diff --git a/jira/internal/permission_scheme_impl.go b/jira/internal/permission_scheme_impl.go index c80d00dc..1b1ce5b5 100644 --- a/jira/internal/permission_scheme_impl.go +++ b/jira/internal/permission_scheme_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewPermissionSchemeService creates a new instance of PermissionSchemeService. diff --git a/jira/internal/permission_scheme_impl_test.go b/jira/internal/permission_scheme_impl_test.go index e8b47e9e..e615a8fe 100644 --- a/jira/internal/permission_scheme_impl_test.go +++ b/jira/internal/permission_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestPermissionSchemeService_Gets(t *testing.T) { diff --git a/jira/internal/priority_impl.go b/jira/internal/priority_impl.go index 941527db..d7120528 100644 --- a/jira/internal/priority_impl.go +++ b/jira/internal/priority_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewPriorityService creates a new instance of PriorityService. diff --git a/jira/internal/priority_impl_test.go b/jira/internal/priority_impl_test.go index c237bc76..d40b5ef3 100644 --- a/jira/internal/priority_impl_test.go +++ b/jira/internal/priority_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalPriorityImpl_Gets(t *testing.T) { diff --git a/jira/internal/project_category_impl.go b/jira/internal/project_category_impl.go index 41383a66..ad65f7ee 100644 --- a/jira/internal/project_category_impl.go +++ b/jira/internal/project_category_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectCategoryService creates a new instance of ProjectCategoryService. diff --git a/jira/internal/project_category_impl_test.go b/jira/internal/project_category_impl_test.go index 721569c8..98160d62 100644 --- a/jira/internal/project_category_impl_test.go +++ b/jira/internal/project_category_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/jira/internal/project_component_impl.go b/jira/internal/project_component_impl.go index 674267a3..73794bb1 100644 --- a/jira/internal/project_component_impl.go +++ b/jira/internal/project_component_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectComponentService creates a new instance of ProjectComponentService. diff --git a/jira/internal/project_component_impl_test.go b/jira/internal/project_component_impl_test.go index 7802bb2c..59a365dd 100644 --- a/jira/internal/project_component_impl_test.go +++ b/jira/internal/project_component_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectComponentImpl_Create(t *testing.T) { diff --git a/jira/internal/project_feature_impl.go b/jira/internal/project_feature_impl.go index b2ca5bea..b969aa4e 100644 --- a/jira/internal/project_feature_impl.go +++ b/jira/internal/project_feature_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectFeatureService creates a new instance of ProjectFeatureService. diff --git a/jira/internal/project_feature_impl_test.go b/jira/internal/project_feature_impl_test.go index 2b8e4f58..a9f3922a 100644 --- a/jira/internal/project_feature_impl_test.go +++ b/jira/internal/project_feature_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectFeatureImpl_Set(t *testing.T) { diff --git a/jira/internal/project_impl.go b/jira/internal/project_impl.go index 4a370f3e..fbba5c4c 100644 --- a/jira/internal/project_impl.go +++ b/jira/internal/project_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // ProjectChildServices holds various child services related to project management in Jira Service Management. diff --git a/jira/internal/project_impl_test.go b/jira/internal/project_impl_test.go index 735df313..4c69fb04 100644 --- a/jira/internal/project_impl_test.go +++ b/jira/internal/project_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectImpl_Create(t *testing.T) { diff --git a/jira/internal/project_permission_scheme_impl.go b/jira/internal/project_permission_scheme_impl.go index 01021784..6aab793b 100644 --- a/jira/internal/project_permission_scheme_impl.go +++ b/jira/internal/project_permission_scheme_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectPermissionSchemeService creates a new instance of ProjectPermissionSchemeService. diff --git a/jira/internal/project_permission_scheme_impl_test.go b/jira/internal/project_permission_scheme_impl_test.go index 5f36b90b..58970c85 100644 --- a/jira/internal/project_permission_scheme_impl_test.go +++ b/jira/internal/project_permission_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectPermissionSchemeImpl_Get(t *testing.T) { diff --git a/jira/internal/project_property_impl.go b/jira/internal/project_property_impl.go index 7dc5bb0f..8106ac95 100644 --- a/jira/internal/project_property_impl.go +++ b/jira/internal/project_property_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectPropertyService creates a new instance of ProjectPropertyService. diff --git a/jira/internal/project_property_impl_test.go b/jira/internal/project_property_impl_test.go index e818307f..eb70b426 100644 --- a/jira/internal/project_property_impl_test.go +++ b/jira/internal/project_property_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectPropertyImpl_Gets(t *testing.T) { diff --git a/jira/internal/project_role_actor_impl.go b/jira/internal/project_role_actor_impl.go index dbec618f..edba5f25 100644 --- a/jira/internal/project_role_actor_impl.go +++ b/jira/internal/project_role_actor_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectRoleActorService creates a new instance of ProjectRoleActorService. diff --git a/jira/internal/project_role_actor_impl_test.go b/jira/internal/project_role_actor_impl_test.go index 8568c02a..19385205 100644 --- a/jira/internal/project_role_actor_impl_test.go +++ b/jira/internal/project_role_actor_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectRoleActorImpl_Add(t *testing.T) { diff --git a/jira/internal/project_role_impl.go b/jira/internal/project_role_impl.go index 1f50db52..707b1b3d 100644 --- a/jira/internal/project_role_impl.go +++ b/jira/internal/project_role_impl.go @@ -9,9 +9,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectRoleService creates a new instance of ProjectRoleService. diff --git a/jira/internal/project_role_impl_test.go b/jira/internal/project_role_impl_test.go index 177a4cd4..ad5a56ca 100644 --- a/jira/internal/project_role_impl_test.go +++ b/jira/internal/project_role_impl_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectRoleImpl_Get(t *testing.T) { diff --git a/jira/internal/project_type_impl.go b/jira/internal/project_type_impl.go index a1607815..9667d9bb 100644 --- a/jira/internal/project_type_impl.go +++ b/jira/internal/project_type_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" ) diff --git a/jira/internal/project_type_impl_test.go b/jira/internal/project_type_impl_test.go index f4b738aa..2f3fda86 100644 --- a/jira/internal/project_type_impl_test.go +++ b/jira/internal/project_type_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/jira/internal/project_validator_impl.go b/jira/internal/project_validator_impl.go index d56fe238..8accfba0 100644 --- a/jira/internal/project_validator_impl.go +++ b/jira/internal/project_validator_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" ) diff --git a/jira/internal/project_validator_impl_test.go b/jira/internal/project_validator_impl_test.go index 27e11c8d..732df97d 100644 --- a/jira/internal/project_validator_impl_test.go +++ b/jira/internal/project_validator_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/project_version_impl.go b/jira/internal/project_version_impl.go index 4d6763d4..11d1b787 100644 --- a/jira/internal/project_version_impl.go +++ b/jira/internal/project_version_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewProjectVersionService creates a new instance of ProjectVersionService. diff --git a/jira/internal/project_version_impl_test.go b/jira/internal/project_version_impl_test.go index 1a7f4bb6..2963723c 100644 --- a/jira/internal/project_version_impl_test.go +++ b/jira/internal/project_version_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalProjectVersionImpl_Gets(t *testing.T) { diff --git a/jira/internal/remote_link_impl.go b/jira/internal/remote_link_impl.go index 0421f3bc..b904676e 100644 --- a/jira/internal/remote_link_impl.go +++ b/jira/internal/remote_link_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewRemoteLinkService creates a new instance of RemoteLinkService. diff --git a/jira/internal/remote_link_impl_test.go b/jira/internal/remote_link_impl_test.go index f0fdbb54..34c51f71 100644 --- a/jira/internal/remote_link_impl_test.go +++ b/jira/internal/remote_link_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalRemoteLinkImpl_Gets(t *testing.T) { diff --git a/jira/internal/resolution_impl.go b/jira/internal/resolution_impl.go index 999853d9..f3c1bce4 100644 --- a/jira/internal/resolution_impl.go +++ b/jira/internal/resolution_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewResolutionService creates a new instance of ResolutionService. diff --git a/jira/internal/resolution_impl_test.go b/jira/internal/resolution_impl_test.go index 1bf5e11d..9d0c82ad 100644 --- a/jira/internal/resolution_impl_test.go +++ b/jira/internal/resolution_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalResolutionImpl_Gets(t *testing.T) { diff --git a/jira/internal/screen_impl.go b/jira/internal/screen_impl.go index 8e1a3309..6349e244 100644 --- a/jira/internal/screen_impl.go +++ b/jira/internal/screen_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewScreenService creates a new instance of ScreenService. diff --git a/jira/internal/screen_impl_test.go b/jira/internal/screen_impl_test.go index dd133c07..1d79414a 100644 --- a/jira/internal/screen_impl_test.go +++ b/jira/internal/screen_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalScreenImpl_Fields(t *testing.T) { diff --git a/jira/internal/screen_scheme_impl.go b/jira/internal/screen_scheme_impl.go index e31ecf07..b945335a 100644 --- a/jira/internal/screen_scheme_impl.go +++ b/jira/internal/screen_scheme_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewScreenSchemeService creates a new instance of ScreenSchemeService. diff --git a/jira/internal/screen_scheme_impl_test.go b/jira/internal/screen_scheme_impl_test.go index ad6a9ad8..08acac5c 100644 --- a/jira/internal/screen_scheme_impl_test.go +++ b/jira/internal/screen_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalScreenSchemeImpl_Gets(t *testing.T) { diff --git a/jira/internal/screen_tab_field_impl.go b/jira/internal/screen_tab_field_impl.go index 35352853..5e8c69be 100644 --- a/jira/internal/screen_tab_field_impl.go +++ b/jira/internal/screen_tab_field_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewScreenTabFieldService creates a new instance of ScreenTabFieldService. diff --git a/jira/internal/screen_tab_field_impl_test.go b/jira/internal/screen_tab_field_impl_test.go index 25dbbbbe..39004263 100644 --- a/jira/internal/screen_tab_field_impl_test.go +++ b/jira/internal/screen_tab_field_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalScreenTabFieldImpl_Gets(t *testing.T) { diff --git a/jira/internal/screen_tab_impl.go b/jira/internal/screen_tab_impl.go index 79dbb071..19c86754 100644 --- a/jira/internal/screen_tab_impl.go +++ b/jira/internal/screen_tab_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewScreenTabService creates a new instance of ScreenTabService. diff --git a/jira/internal/screen_tab_impl_test.go b/jira/internal/screen_tab_impl_test.go index 48e38220..aa88ab5b 100644 --- a/jira/internal/screen_tab_impl_test.go +++ b/jira/internal/screen_tab_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalScreenTabImpl_Gets(t *testing.T) { diff --git a/jira/internal/search_impl.go b/jira/internal/search_impl.go index 1a9fd7d4..f229935f 100644 --- a/jira/internal/search_impl.go +++ b/jira/internal/search_impl.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" ) // NewSearchService creates a new instance of SearchADFService and SearchRichTextService. diff --git a/jira/internal/search_impl_adf.go b/jira/internal/search_impl_adf.go index e9ad0f85..452ede47 100644 --- a/jira/internal/search_impl_adf.go +++ b/jira/internal/search_impl_adf.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/search_impl_adf_test.go b/jira/internal/search_impl_adf_test.go index 003d46bf..ace396d7 100644 --- a/jira/internal/search_impl_adf_test.go +++ b/jira/internal/search_impl_adf_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalSearchADFImpl_Checks(t *testing.T) { diff --git a/jira/internal/search_impl_rich_text.go b/jira/internal/search_impl_rich_text.go index 5baaa996..46b6b532 100644 --- a/jira/internal/search_impl_rich_text.go +++ b/jira/internal/search_impl_rich_text.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strconv" diff --git a/jira/internal/search_impl_rich_text_test.go b/jira/internal/search_impl_rich_text_test.go index 928fe3ff..d83fa712 100644 --- a/jira/internal/search_impl_rich_text_test.go +++ b/jira/internal/search_impl_rich_text_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalSearchRichTextImpl_Checks(t *testing.T) { diff --git a/jira/internal/search_impl_test.go b/jira/internal/search_impl_test.go index c18d4641..5a6253af 100644 --- a/jira/internal/search_impl_test.go +++ b/jira/internal/search_impl_test.go @@ -1,8 +1,8 @@ package internal import ( - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" "github.com/stretchr/testify/assert" "testing" ) diff --git a/jira/internal/server_impl.go b/jira/internal/server_impl.go index 93feb543..8e74a623 100644 --- a/jira/internal/server_impl.go +++ b/jira/internal/server_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" ) diff --git a/jira/internal/server_impl_test.go b/jira/internal/server_impl_test.go index 38347017..53f6a384 100644 --- a/jira/internal/server_impl_test.go +++ b/jira/internal/server_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/internal/task_impl.go b/jira/internal/task_impl.go index 60fae496..0ee05418 100644 --- a/jira/internal/task_impl.go +++ b/jira/internal/task_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewTaskService creates a new instance of TaskService. diff --git a/jira/internal/task_impl_test.go b/jira/internal/task_impl_test.go index d2abb362..ef5d8a92 100644 --- a/jira/internal/task_impl_test.go +++ b/jira/internal/task_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTaskServiceImpl_Get(t *testing.T) { diff --git a/jira/internal/team_impl.go b/jira/internal/team_impl.go index 2ef7553c..a732d69e 100644 --- a/jira/internal/team_impl.go +++ b/jira/internal/team_impl.go @@ -2,9 +2,9 @@ package internal import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" ) diff --git a/jira/internal/team_impl_test.go b/jira/internal/team_impl_test.go index 322f9ffa..02f6aafb 100644 --- a/jira/internal/team_impl_test.go +++ b/jira/internal/team_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTeamServiceImpl_Gets(t *testing.T) { diff --git a/jira/internal/type_impl.go b/jira/internal/type_impl.go index 78a2eead..e6ed0006 100644 --- a/jira/internal/type_impl.go +++ b/jira/internal/type_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewTypeService creates a new instance of TypeService. diff --git a/jira/internal/type_impl_test.go b/jira/internal/type_impl_test.go index 738519c2..99b91930 100644 --- a/jira/internal/type_impl_test.go +++ b/jira/internal/type_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTypeImpl_Gets(t *testing.T) { diff --git a/jira/internal/type_scheme_impl.go b/jira/internal/type_scheme_impl.go index b64c0b96..95c9a3f5 100644 --- a/jira/internal/type_scheme_impl.go +++ b/jira/internal/type_scheme_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewTypeSchemeService creates a new instance of TypeSchemeService. diff --git a/jira/internal/type_scheme_impl_test.go b/jira/internal/type_scheme_impl_test.go index 3f14b7e3..202e2a42 100644 --- a/jira/internal/type_scheme_impl_test.go +++ b/jira/internal/type_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTypeSchemeImpl_Gets(t *testing.T) { diff --git a/jira/internal/type_screen_scheme_impl.go b/jira/internal/type_screen_scheme_impl.go index 5382eef8..9f5e857b 100644 --- a/jira/internal/type_screen_scheme_impl.go +++ b/jira/internal/type_screen_scheme_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewTypeScreenSchemeService creates a new instance of TypeScreenSchemeService. diff --git a/jira/internal/type_screen_scheme_impl_test.go b/jira/internal/type_screen_scheme_impl_test.go index 908c3451..6345b270 100644 --- a/jira/internal/type_screen_scheme_impl_test.go +++ b/jira/internal/type_screen_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTypeScreenSchemeImpl_Gets(t *testing.T) { diff --git a/jira/internal/user_impl.go b/jira/internal/user_impl.go index 027507eb..8c03f042 100644 --- a/jira/internal/user_impl.go +++ b/jira/internal/user_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewUserService creates a new instance of UserService. diff --git a/jira/internal/user_impl_test.go b/jira/internal/user_impl_test.go index c8e45f46..f69398b9 100644 --- a/jira/internal/user_impl_test.go +++ b/jira/internal/user_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalUserImpl_Get(t *testing.T) { diff --git a/jira/internal/user_search_impl.go b/jira/internal/user_search_impl.go index 06763f75..66845b21 100644 --- a/jira/internal/user_search_impl.go +++ b/jira/internal/user_search_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewUserSearchService creates a new instance of UserSearchService. diff --git a/jira/internal/user_search_impl_test.go b/jira/internal/user_search_impl_test.go index 9f5c06bc..9b307948 100644 --- a/jira/internal/user_search_impl_test.go +++ b/jira/internal/user_search_impl_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalUserSearchImpl_Projects(t *testing.T) { diff --git a/jira/internal/vote_impl.go b/jira/internal/vote_impl.go index 7ec689a6..d6bc2de8 100644 --- a/jira/internal/vote_impl.go +++ b/jira/internal/vote_impl.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewVoteService creates a new instance of VoteService. diff --git a/jira/internal/vote_impl_test.go b/jira/internal/vote_impl_test.go index 5c94b3fc..e037b74a 100644 --- a/jira/internal/vote_impl_test.go +++ b/jira/internal/vote_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalVoteImpl_Gets(t *testing.T) { diff --git a/jira/internal/watcher_impl.go b/jira/internal/watcher_impl.go index 02f5af03..fda17805 100644 --- a/jira/internal/watcher_impl.go +++ b/jira/internal/watcher_impl.go @@ -6,9 +6,9 @@ import ( "net/http" "net/url" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWatcherService creates a new instance of WatcherService. diff --git a/jira/internal/watcher_impl_test.go b/jira/internal/watcher_impl_test.go index c7c10405..f55c1366 100644 --- a/jira/internal/watcher_impl_test.go +++ b/jira/internal/watcher_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWatcherImpl_Gets(t *testing.T) { diff --git a/jira/internal/workflow_impl.go b/jira/internal/workflow_impl.go index 23f93292..1af5c3b8 100644 --- a/jira/internal/workflow_impl.go +++ b/jira/internal/workflow_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWorkflowService creates a new instance of WorkflowService. diff --git a/jira/internal/workflow_impl_test.go b/jira/internal/workflow_impl_test.go index 3d0b9df2..2a8d8339 100644 --- a/jira/internal/workflow_impl_test.go +++ b/jira/internal/workflow_impl_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorkflowImpl_Gets(t *testing.T) { diff --git a/jira/internal/workflow_scheme_impl.go b/jira/internal/workflow_scheme_impl.go index 04809df8..fccedc89 100644 --- a/jira/internal/workflow_scheme_impl.go +++ b/jira/internal/workflow_scheme_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWorkflowSchemeService creates a new instance of WorkflowSchemeService. diff --git a/jira/internal/workflow_scheme_impl_test.go b/jira/internal/workflow_scheme_impl_test.go index 8f642784..75a67879 100644 --- a/jira/internal/workflow_scheme_impl_test.go +++ b/jira/internal/workflow_scheme_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorkflowSchemeImpl_Gets(t *testing.T) { diff --git a/jira/internal/workflow_scheme_issue_type_impl.go b/jira/internal/workflow_scheme_issue_type_impl.go index f6d7a0ca..a4a53baa 100644 --- a/jira/internal/workflow_scheme_issue_type_impl.go +++ b/jira/internal/workflow_scheme_issue_type_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" "net/http" "net/url" "strings" diff --git a/jira/internal/workflow_scheme_issue_type_impl_test.go b/jira/internal/workflow_scheme_issue_type_impl_test.go index 360bb703..964370f4 100644 --- a/jira/internal/workflow_scheme_issue_type_impl_test.go +++ b/jira/internal/workflow_scheme_issue_type_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/jira/internal/workflow_status_impl.go b/jira/internal/workflow_status_impl.go index 422355c1..b77870db 100644 --- a/jira/internal/workflow_status_impl.go +++ b/jira/internal/workflow_status_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWorkflowStatusService creates a new instance of WorkflowStatusService. diff --git a/jira/internal/workflow_status_impl_test.go b/jira/internal/workflow_status_impl_test.go index 3d338038..a9c14c54 100644 --- a/jira/internal/workflow_status_impl_test.go +++ b/jira/internal/workflow_status_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "net/http" diff --git a/jira/internal/worklog_impl_adf.go b/jira/internal/worklog_impl_adf.go index 937b15f4..6aab8219 100644 --- a/jira/internal/worklog_impl_adf.go +++ b/jira/internal/worklog_impl_adf.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWorklogADFService creates a new instance of WorklogADFService. diff --git a/jira/internal/worklog_impl_adf_test.go b/jira/internal/worklog_impl_adf_test.go index 738556a2..60d7e307 100644 --- a/jira/internal/worklog_impl_adf_test.go +++ b/jira/internal/worklog_impl_adf_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorklogAdfImpl_Gets(t *testing.T) { diff --git a/jira/internal/worklog_impl_rich_text.go b/jira/internal/worklog_impl_rich_text.go index e45013da..0da6bfdd 100644 --- a/jira/internal/worklog_impl_rich_text.go +++ b/jira/internal/worklog_impl_rich_text.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/jira" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/jira" ) // NewWorklogRichTextService creates a new instance of WorklogRichTextService. diff --git a/jira/internal/worklog_impl_rich_text_test.go b/jira/internal/worklog_impl_rich_text_test.go index bb5439f9..244632a2 100644 --- a/jira/internal/worklog_impl_rich_text_test.go +++ b/jira/internal/worklog_impl_rich_text_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalWorklogRichTextImpl_Gets(t *testing.T) { diff --git a/jira/sm/api_client_impl.go b/jira/sm/api_client_impl.go index 07bcd366..4015a8ab 100644 --- a/jira/sm/api_client_impl.go +++ b/jira/sm/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/jira/sm/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/jira/sm/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) const defaultServiceManagementVersion = "latest" diff --git a/jira/sm/api_client_impl_test.go b/jira/sm/api_client_impl_test.go index fb03dbf0..35b0fbf6 100644 --- a/jira/sm/api_client_impl_test.go +++ b/jira/sm/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/jira/sm/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/jira/sm/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/jira/sm/internal/approval_impl.go b/jira/sm/internal/approval_impl.go index 6ab3538a..19bc5469 100644 --- a/jira/sm/internal/approval_impl.go +++ b/jira/sm/internal/approval_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewApprovalService creates a new instance of ApprovalService. diff --git a/jira/sm/internal/approval_impl_test.go b/jira/sm/internal/approval_impl_test.go index db7d5608..0af9a3f0 100644 --- a/jira/sm/internal/approval_impl_test.go +++ b/jira/sm/internal/approval_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceRequestApprovalImpl_Gets(t *testing.T) { diff --git a/jira/sm/internal/attachment_impl.go b/jira/sm/internal/attachment_impl.go index 87c51ef1..2743f85f 100644 --- a/jira/sm/internal/attachment_impl.go +++ b/jira/sm/internal/attachment_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewAttachmentService creates a new instance of AttachmentService. diff --git a/jira/sm/internal/attachment_impl_test.go b/jira/sm/internal/attachment_impl_test.go index 37380663..84da5a41 100644 --- a/jira/sm/internal/attachment_impl_test.go +++ b/jira/sm/internal/attachment_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceRequestAttachmentImpl_Gets(t *testing.T) { diff --git a/jira/sm/internal/authentication_impl.go b/jira/sm/internal/authentication_impl.go index ff5af654..c14728d3 100644 --- a/jira/sm/internal/authentication_impl.go +++ b/jira/sm/internal/authentication_impl.go @@ -1,8 +1,8 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // NewAuthenticationService creates a new instance of AuthenticationService. diff --git a/jira/sm/internal/authentication_impl_test.go b/jira/sm/internal/authentication_impl_test.go index 052f3466..f3119180 100644 --- a/jira/sm/internal/authentication_impl_test.go +++ b/jira/sm/internal/authentication_impl_test.go @@ -1,9 +1,9 @@ package internal import ( - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "reflect" "testing" diff --git a/jira/sm/internal/comment_impl.go b/jira/sm/internal/comment_impl.go index 3ad20459..052eee7c 100644 --- a/jira/sm/internal/comment_impl.go +++ b/jira/sm/internal/comment_impl.go @@ -10,9 +10,9 @@ import ( "github.com/google/go-querystring/query" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewCommentService creates a new instance of CommentService. diff --git a/jira/sm/internal/comment_impl_test.go b/jira/sm/internal/comment_impl_test.go index 43f11336..702df797 100644 --- a/jira/sm/internal/comment_impl_test.go +++ b/jira/sm/internal/comment_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceRequestCommentImpl_Gets(t *testing.T) { diff --git a/jira/sm/internal/customer_impl.go b/jira/sm/internal/customer_impl.go index 2fd4192a..ada0ac2f 100644 --- a/jira/sm/internal/customer_impl.go +++ b/jira/sm/internal/customer_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewCustomerService creates a new instance of CustomerService. diff --git a/jira/sm/internal/customer_impl_test.go b/jira/sm/internal/customer_impl_test.go index 1c55f063..3f2d5fdc 100644 --- a/jira/sm/internal/customer_impl_test.go +++ b/jira/sm/internal/customer_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalCustomerImpl_Create(t *testing.T) { diff --git a/jira/sm/internal/feedback_impl.go b/jira/sm/internal/feedback_impl.go index aa71df6f..140b98e9 100644 --- a/jira/sm/internal/feedback_impl.go +++ b/jira/sm/internal/feedback_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" ) diff --git a/jira/sm/internal/feedback_impl_test.go b/jira/sm/internal/feedback_impl_test.go index 1e7ac799..d2c036f4 100644 --- a/jira/sm/internal/feedback_impl_test.go +++ b/jira/sm/internal/feedback_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceRequestFeedbackImpl_Get(t *testing.T) { diff --git a/jira/sm/internal/info_impl.go b/jira/sm/internal/info_impl.go index 8d862b8a..75910a78 100644 --- a/jira/sm/internal/info_impl.go +++ b/jira/sm/internal/info_impl.go @@ -2,9 +2,9 @@ package internal import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" ) diff --git a/jira/sm/internal/info_impl_test.go b/jira/sm/internal/info_impl_test.go index b6b88e98..e7c012c0 100644 --- a/jira/sm/internal/info_impl_test.go +++ b/jira/sm/internal/info_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/sm/internal/knowledgebase_impl.go b/jira/sm/internal/knowledgebase_impl.go index 6bbe0dcc..c32f8bc6 100644 --- a/jira/sm/internal/knowledgebase_impl.go +++ b/jira/sm/internal/knowledgebase_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" "net/url" "strconv" diff --git a/jira/sm/internal/knowledgebase_impl_test.go b/jira/sm/internal/knowledgebase_impl_test.go index 43260ca2..7f8488f4 100644 --- a/jira/sm/internal/knowledgebase_impl_test.go +++ b/jira/sm/internal/knowledgebase_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalKnowledgebaseImpl_Search(t *testing.T) { diff --git a/jira/sm/internal/organization_impl.go b/jira/sm/internal/organization_impl.go index 7c56b3af..cc36acef 100644 --- a/jira/sm/internal/organization_impl.go +++ b/jira/sm/internal/organization_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" "net/url" "strconv" diff --git a/jira/sm/internal/organization_impl_test.go b/jira/sm/internal/organization_impl_test.go index eb237afc..74c60eef 100644 --- a/jira/sm/internal/organization_impl_test.go +++ b/jira/sm/internal/organization_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/sm/internal/participant_impl.go b/jira/sm/internal/participant_impl.go index 7d614408..7394ccfc 100644 --- a/jira/sm/internal/participant_impl.go +++ b/jira/sm/internal/participant_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewParticipantService creates a new instance of ParticipantService. diff --git a/jira/sm/internal/participant_impl_test.go b/jira/sm/internal/participant_impl_test.go index 69c67a26..7485413c 100644 --- a/jira/sm/internal/participant_impl_test.go +++ b/jira/sm/internal/participant_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/sm/internal/queue_impl.go b/jira/sm/internal/queue_impl.go index 34153444..0c8e84ec 100644 --- a/jira/sm/internal/queue_impl.go +++ b/jira/sm/internal/queue_impl.go @@ -3,9 +3,9 @@ package internal import ( "context" "fmt" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" "net/url" "strconv" diff --git a/jira/sm/internal/queue_impl_test.go b/jira/sm/internal/queue_impl_test.go index 21d7980a..2ce6f99e 100644 --- a/jira/sm/internal/queue_impl_test.go +++ b/jira/sm/internal/queue_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/sm/internal/request_impl.go b/jira/sm/internal/request_impl.go index 098745f1..eacbd684 100644 --- a/jira/sm/internal/request_impl.go +++ b/jira/sm/internal/request_impl.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // ServiceRequestSubServices holds the sub-services related to service requests in Jira Service Management. diff --git a/jira/sm/internal/request_impl_test.go b/jira/sm/internal/request_impl_test.go index d5db2d34..2eecd956 100644 --- a/jira/sm/internal/request_impl_test.go +++ b/jira/sm/internal/request_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceRequestImpl_Gets(t *testing.T) { diff --git a/jira/sm/internal/service_desk_impl.go b/jira/sm/internal/service_desk_impl.go index 07b685e3..dc2700a5 100644 --- a/jira/sm/internal/service_desk_impl.go +++ b/jira/sm/internal/service_desk_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewServiceDeskService creates a new instance of ServiceDeskService. diff --git a/jira/sm/internal/service_desk_impl_test.go b/jira/sm/internal/service_desk_impl_test.go index 6161e12a..d0fc1cea 100644 --- a/jira/sm/internal/service_desk_impl_test.go +++ b/jira/sm/internal/service_desk_impl_test.go @@ -12,9 +12,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalServiceDeskImpl_Gets(t *testing.T) { diff --git a/jira/sm/internal/sla_impl.go b/jira/sm/internal/sla_impl.go index df8c37a3..509f08a4 100644 --- a/jira/sm/internal/sla_impl.go +++ b/jira/sm/internal/sla_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewServiceLevelAgreementService creates a new instance of ServiceLevelAgreementService. diff --git a/jira/sm/internal/sla_impl_test.go b/jira/sm/internal/sla_impl_test.go index 08521873..4c11dafe 100644 --- a/jira/sm/internal/sla_impl_test.go +++ b/jira/sm/internal/sla_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/sm/internal/type_impl.go b/jira/sm/internal/type_impl.go index 08392af5..bf98d3d1 100644 --- a/jira/sm/internal/type_impl.go +++ b/jira/sm/internal/type_impl.go @@ -7,9 +7,9 @@ import ( "net/url" "strconv" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" ) // NewTypeService creates a new instance of TypeService. diff --git a/jira/sm/internal/type_impl_test.go b/jira/sm/internal/type_impl_test.go index 8073edd7..8d4dd7d6 100644 --- a/jira/sm/internal/type_impl_test.go +++ b/jira/sm/internal/type_impl_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func Test_internalTypeImpl_Search(t *testing.T) { diff --git a/jira/sm/internal/workspace_impl.go b/jira/sm/internal/workspace_impl.go index 58f6e955..ba70e22c 100644 --- a/jira/sm/internal/workspace_impl.go +++ b/jira/sm/internal/workspace_impl.go @@ -2,9 +2,9 @@ package internal import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/sm" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/sm" "net/http" ) diff --git a/jira/sm/internal/workspace_impl_test.go b/jira/sm/internal/workspace_impl_test.go index 45b95a2f..6bd8bb58 100644 --- a/jira/sm/internal/workspace_impl_test.go +++ b/jira/sm/internal/workspace_impl_test.go @@ -3,9 +3,9 @@ package internal import ( "context" "errors" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service" - "github.com/ctreminiom/go-atlassian/service/mocks" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" "github.com/stretchr/testify/assert" "net/http" "testing" diff --git a/jira/v2/api_client_impl.go b/jira/v2/api_client_impl.go index 976aa234..0b4ed10c 100644 --- a/jira/v2/api_client_impl.go +++ b/jira/v2/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/jira/internal" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/jira/internal" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // APIVersion is the version of the Jira API that this client targets. diff --git a/jira/v2/api_client_impl_test.go b/jira/v2/api_client_impl_test.go index e0762969..6fe84994 100644 --- a/jira/v2/api_client_impl_test.go +++ b/jira/v2/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/jira/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/jira/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/jira/v3/api_client_impl.go b/jira/v3/api_client_impl.go index 6f6297cd..e29db9e4 100644 --- a/jira/v3/api_client_impl.go +++ b/jira/v3/api_client_impl.go @@ -10,9 +10,9 @@ import ( "net/url" "strings" - "github.com/ctreminiom/go-atlassian/jira/internal" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" + "github.com/ctreminiom/go-atlassian/v2/jira/internal" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" ) // APIVersion is the version of the Jira API that this client targets. diff --git a/jira/v3/api_client_impl_test.go b/jira/v3/api_client_impl_test.go index e9b5affe..20e588a5 100644 --- a/jira/v3/api_client_impl_test.go +++ b/jira/v3/api_client_impl_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ctreminiom/go-atlassian/jira/internal" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" - "github.com/ctreminiom/go-atlassian/service/common" - "github.com/ctreminiom/go-atlassian/service/mocks" + "github.com/ctreminiom/go-atlassian/v2/jira/internal" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/service/common" + "github.com/ctreminiom/go-atlassian/v2/service/mocks" ) func TestClient_Call(t *testing.T) { diff --git a/service/admin/organization.go b/service/admin/organization.go index bf83acee..b397b31d 100644 --- a/service/admin/organization.go +++ b/service/admin/organization.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // OrganizationConnector represents the cloud admin organization endpoints. diff --git a/service/admin/organization_directory.go b/service/admin/organization_directory.go index 3d35609c..057afec8 100644 --- a/service/admin/organization_directory.go +++ b/service/admin/organization_directory.go @@ -3,7 +3,7 @@ package admin import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // OrganizationDirectoryConnector represents the cloud admin organization directory endpoints. diff --git a/service/admin/policy.go b/service/admin/policy.go index aeebf9a6..743ec679 100644 --- a/service/admin/policy.go +++ b/service/admin/policy.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // OrganizationPolicyConnector represents the cloud admin organization policy endpoints. diff --git a/service/admin/scim_group.go b/service/admin/scim_group.go index 1ef62d24..46f3e6a9 100644 --- a/service/admin/scim_group.go +++ b/service/admin/scim_group.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // SCIMGroupConnector represents the cloud admin SCIM group actions. diff --git a/service/admin/scim_schema.go b/service/admin/scim_schema.go index 2c9a8dd4..d187a442 100644 --- a/service/admin/scim_schema.go +++ b/service/admin/scim_schema.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // SCIMSchemaConnector represents the cloud admin SCIM schema actions. diff --git a/service/admin/scim_user.go b/service/admin/scim_user.go index c87ab615..83b454f9 100644 --- a/service/admin/scim_user.go +++ b/service/admin/scim_user.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // SCIMUserConnector represents the cloud admin SCIM user actions. diff --git a/service/admin/token.go b/service/admin/token.go index f14325c7..602cc855 100644 --- a/service/admin/token.go +++ b/service/admin/token.go @@ -3,7 +3,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // UserTokenConnector represents the cloud admin user token endpoints. diff --git a/service/admin/user.go b/service/admin/user.go index f60edaa2..ba22ea34 100644 --- a/service/admin/user.go +++ b/service/admin/user.go @@ -2,7 +2,7 @@ package admin import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // UserConnector represents the cloud admin users admin endpoints. diff --git a/service/agile/backlog.go b/service/agile/backlog.go index db2b3d3d..4a64179f 100644 --- a/service/agile/backlog.go +++ b/service/agile/backlog.go @@ -3,7 +3,7 @@ package agile import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // BoardBacklogConnector represents the board backlogs. diff --git a/service/agile/board.go b/service/agile/board.go index e2874dac..0acd74e5 100644 --- a/service/agile/board.go +++ b/service/agile/board.go @@ -3,7 +3,7 @@ package agile import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // BoardConnector represents the Jira boards. diff --git a/service/agile/epic.go b/service/agile/epic.go index 36d61cff..7b61babe 100644 --- a/service/agile/epic.go +++ b/service/agile/epic.go @@ -3,7 +3,7 @@ package agile import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type EpicConnector interface { diff --git a/service/agile/sprint.go b/service/agile/sprint.go index 384a8260..7f311e4a 100644 --- a/service/agile/sprint.go +++ b/service/agile/sprint.go @@ -3,7 +3,7 @@ package agile import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type SprintConnector interface { diff --git a/service/assets/aql.go b/service/assets/aql.go index c5b2e661..8fd5046b 100644 --- a/service/assets/aql.go +++ b/service/assets/aql.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // AQLAssetConnector represents the assets AQL search endpoints. diff --git a/service/assets/icon.go b/service/assets/icon.go index ef60760a..de54a6bf 100644 --- a/service/assets/icon.go +++ b/service/assets/icon.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // IconConnector represents the assets icons endpoints. diff --git a/service/assets/object.go b/service/assets/object.go index 449f677f..6b5eb795 100644 --- a/service/assets/object.go +++ b/service/assets/object.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // ObjectConnector represents the Assets objects. diff --git a/service/assets/object_schema.go b/service/assets/object_schema.go index a477510f..5677a151 100644 --- a/service/assets/object_schema.go +++ b/service/assets/object_schema.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // ObjectSchemaConnector represents the Assets object schemes. diff --git a/service/assets/object_type.go b/service/assets/object_type.go index b3fc7c28..cd0f145d 100644 --- a/service/assets/object_type.go +++ b/service/assets/object_type.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // ObjectTypeConnector represents the Assets object types. diff --git a/service/assets/object_type_attribute.go b/service/assets/object_type_attribute.go index 8e89be41..1e91869e 100644 --- a/service/assets/object_type_attribute.go +++ b/service/assets/object_type_attribute.go @@ -3,7 +3,7 @@ package assets import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // ObjectTypeAttributeConnector represents the Assets object type attributes. diff --git a/service/bitbucket/repository.go b/service/bitbucket/repository.go index 2b77ac87..ddb4d062 100644 --- a/service/bitbucket/repository.go +++ b/service/bitbucket/repository.go @@ -3,7 +3,7 @@ package bitbucket import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // RepositoryConnector represents the Bitbucket Cloud repositories. diff --git a/service/bitbucket/workspace.go b/service/bitbucket/workspace.go index 6ffa1304..4e09557f 100644 --- a/service/bitbucket/workspace.go +++ b/service/bitbucket/workspace.go @@ -3,7 +3,7 @@ package bitbucket import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // WorkspaceConnector is where you create repositories, collaborate on your code, diff --git a/service/common/client.go b/service/common/client.go index 6fb605d3..ddd778a9 100644 --- a/service/common/client.go +++ b/service/common/client.go @@ -5,7 +5,7 @@ import ( "io" "net/http" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type Client interface { diff --git a/service/confluence/analytics.go b/service/confluence/analytics.go index 0e7edbaa..b89e36b1 100644 --- a/service/confluence/analytics.go +++ b/service/confluence/analytics.go @@ -3,7 +3,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // AnalyticsConnector the interface for the analytics methods of the Confluence Service. diff --git a/service/confluence/attachment.go b/service/confluence/attachment.go index 5989b1df..c0d435c7 100644 --- a/service/confluence/attachment.go +++ b/service/confluence/attachment.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" "io" ) diff --git a/service/confluence/children-descendant.go b/service/confluence/children-descendant.go index 3ff67c2e..12e54dfe 100644 --- a/service/confluence/children-descendant.go +++ b/service/confluence/children-descendant.go @@ -3,7 +3,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ChildrenDescendantConnector interface { diff --git a/service/confluence/comment.go b/service/confluence/comment.go index 526f093f..ea4fd9ac 100644 --- a/service/confluence/comment.go +++ b/service/confluence/comment.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type CommentConnector interface { diff --git a/service/confluence/content.go b/service/confluence/content.go index 9be23408..5e121f2c 100644 --- a/service/confluence/content.go +++ b/service/confluence/content.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ContentConnector interface { diff --git a/service/confluence/custom-content.go b/service/confluence/custom-content.go index 8db46d7f..876ae9bf 100644 --- a/service/confluence/custom-content.go +++ b/service/confluence/custom-content.go @@ -3,7 +3,7 @@ package confluence import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type CustomContentConnector interface { diff --git a/service/confluence/label.go b/service/confluence/label.go index a831334d..a2e9109e 100644 --- a/service/confluence/label.go +++ b/service/confluence/label.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type LabelConnector interface { diff --git a/service/confluence/page.go b/service/confluence/page.go index b9c9fed5..58b2b704 100644 --- a/service/confluence/page.go +++ b/service/confluence/page.go @@ -2,7 +2,7 @@ package confluence import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // PageConnector represents the Confluence Cloud Pages. diff --git a/service/confluence/permission.go b/service/confluence/permission.go index 2788a91e..85f0515a 100644 --- a/service/confluence/permission.go +++ b/service/confluence/permission.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ContentPermissionConnector interface { diff --git a/service/confluence/property.go b/service/confluence/property.go index 1c017d8e..8a0a54c7 100644 --- a/service/confluence/property.go +++ b/service/confluence/property.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ContentPropertyConnector interface { diff --git a/service/confluence/restriction.go b/service/confluence/restriction.go index 7cd4ac64..38d08248 100644 --- a/service/confluence/restriction.go +++ b/service/confluence/restriction.go @@ -3,7 +3,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ContentRestrictionConnector interface { diff --git a/service/confluence/search.go b/service/confluence/search.go index 75b5eeb1..ab6f1537 100644 --- a/service/confluence/search.go +++ b/service/confluence/search.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type SearchConnector interface { diff --git a/service/confluence/space.go b/service/confluence/space.go index 12fbfaf4..bf9d1327 100644 --- a/service/confluence/space.go +++ b/service/confluence/space.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type SpaceV2Connector interface { diff --git a/service/confluence/task.go b/service/confluence/task.go index b6fa495b..5f29334a 100644 --- a/service/confluence/task.go +++ b/service/confluence/task.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type TaskConnector interface { diff --git a/service/confluence/version.go b/service/confluence/version.go index c8e072c3..afaf1a8f 100644 --- a/service/confluence/version.go +++ b/service/confluence/version.go @@ -2,7 +2,7 @@ package confluence import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type VersionConnector interface { diff --git a/service/http.go b/service/http.go index 2e19d5da..bd673036 100644 --- a/service/http.go +++ b/service/http.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type Connector interface { diff --git a/service/jira/announcement-banner.go b/service/jira/announcement-banner.go index 58a325e5..20b446af 100644 --- a/service/jira/announcement-banner.go +++ b/service/jira/announcement-banner.go @@ -2,7 +2,7 @@ package jira import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // AnnouncementBannerConnector resource represents the Jira announcement banner. diff --git a/service/jira/application-role.go b/service/jira/application-role.go index 1c008266..cf5cb75d 100644 --- a/service/jira/application-role.go +++ b/service/jira/application-role.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type AppRoleConnector interface { diff --git a/service/jira/attachment.go b/service/jira/attachment.go index d870c261..94546918 100644 --- a/service/jira/attachment.go +++ b/service/jira/attachment.go @@ -4,7 +4,7 @@ import ( "context" "io" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type AttachmentConnector interface { diff --git a/service/jira/audit.go b/service/jira/audit.go index 2befc6e4..7dbd708b 100644 --- a/service/jira/audit.go +++ b/service/jira/audit.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // AuditRecordConnector audits that record activities undertaken in Jira. diff --git a/service/jira/comment.go b/service/jira/comment.go index f837aca3..23796a5e 100644 --- a/service/jira/comment.go +++ b/service/jira/comment.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type CommentRichTextConnector interface { diff --git a/service/jira/dashboard.go b/service/jira/dashboard.go index 838ad6a2..7d8b5a4f 100644 --- a/service/jira/dashboard.go +++ b/service/jira/dashboard.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type DashboardConnector interface { diff --git a/service/jira/field-config.go b/service/jira/field-config.go index b57fc7a1..49ad3778 100644 --- a/service/jira/field-config.go +++ b/service/jira/field-config.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // FieldConfigConnector interface holds the methods available for the FieldConfig resource. diff --git a/service/jira/field-context.go b/service/jira/field-context.go index d5945f0d..a05acbcb 100644 --- a/service/jira/field-context.go +++ b/service/jira/field-context.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) //FieldContextOptionConnector diff --git a/service/jira/field.go b/service/jira/field.go index 6fa873c4..820d7a94 100644 --- a/service/jira/field.go +++ b/service/jira/field.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type FieldConnector interface { diff --git a/service/jira/filter-share.go b/service/jira/filter-share.go index 92318e8c..3ef05b77 100644 --- a/service/jira/filter-share.go +++ b/service/jira/filter-share.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type FilterSharingConnector interface { diff --git a/service/jira/filter.go b/service/jira/filter.go index 926944fc..b938dcf6 100644 --- a/service/jira/filter.go +++ b/service/jira/filter.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // FilterConnector is an interface that defines the methods available from Jira Filter API. diff --git a/service/jira/group.go b/service/jira/group.go index 0ccaf039..04a4818d 100644 --- a/service/jira/group.go +++ b/service/jira/group.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // GroupConnector is an interface that defines the methods available from GroupConnector API. diff --git a/service/jira/group_user_picker.go b/service/jira/group_user_picker.go index 1f8f576e..b1ccd9e5 100644 --- a/service/jira/group_user_picker.go +++ b/service/jira/group_user_picker.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // GroupUserPickerConnector is an interface that defines the methods available from GroupUserPickerConnector API. diff --git a/service/jira/issue.go b/service/jira/issue.go index 0a9dd062..0a8595a7 100644 --- a/service/jira/issue.go +++ b/service/jira/issue.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type IssueSharedConnector interface { diff --git a/service/jira/jql.go b/service/jira/jql.go index d8eba896..a36d76de 100644 --- a/service/jira/jql.go +++ b/service/jira/jql.go @@ -2,7 +2,7 @@ package jira import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type JQLConnector interface { diff --git a/service/jira/label.go b/service/jira/label.go index 4a1e0603..e82241cd 100644 --- a/service/jira/label.go +++ b/service/jira/label.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type LabelConnector interface { diff --git a/service/jira/link.go b/service/jira/link.go index bd975898..4b4ffada 100644 --- a/service/jira/link.go +++ b/service/jira/link.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type LinkSharedConnector interface { diff --git a/service/jira/metadata.go b/service/jira/metadata.go index bd998dc1..7f205da4 100644 --- a/service/jira/metadata.go +++ b/service/jira/metadata.go @@ -5,7 +5,7 @@ import ( "github.com/tidwall/gjson" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type MetadataConnector interface { diff --git a/service/jira/myself.go b/service/jira/myself.go index e8c81ca0..79300f74 100644 --- a/service/jira/myself.go +++ b/service/jira/myself.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type MySelfConnector interface { diff --git a/service/jira/notification.go b/service/jira/notification.go index 847dc71d..d9483610 100644 --- a/service/jira/notification.go +++ b/service/jira/notification.go @@ -3,7 +3,7 @@ package jira import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // NotificationSchemeConnector represents notification schemes, diff --git a/service/jira/permission.go b/service/jira/permission.go index 7c69d3ae..b2535c9b 100644 --- a/service/jira/permission.go +++ b/service/jira/permission.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type PermissionConnector interface { diff --git a/service/jira/priority.go b/service/jira/priority.go index e13a3035..62ce9e50 100644 --- a/service/jira/priority.go +++ b/service/jira/priority.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type PriorityConnector interface { diff --git a/service/jira/project.go b/service/jira/project.go index 6de853fb..8b8803be 100644 --- a/service/jira/project.go +++ b/service/jira/project.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ProjectConnector interface { diff --git a/service/jira/properties.go b/service/jira/properties.go index 9b69f1ac..88f46e4b 100644 --- a/service/jira/properties.go +++ b/service/jira/properties.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) /* diff --git a/service/jira/remote-link.go b/service/jira/remote-link.go index b94568cc..abb858e7 100644 --- a/service/jira/remote-link.go +++ b/service/jira/remote-link.go @@ -3,7 +3,7 @@ package jira import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // RemoteLinkConnector is the interface that wraps the Jira remote link methods. diff --git a/service/jira/resolution.go b/service/jira/resolution.go index 0239ba3d..4044d827 100644 --- a/service/jira/resolution.go +++ b/service/jira/resolution.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ResolutionConnector interface { diff --git a/service/jira/screen.go b/service/jira/screen.go index f6769a59..8cc6245c 100644 --- a/service/jira/screen.go +++ b/service/jira/screen.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ScreenConnector interface { diff --git a/service/jira/search.go b/service/jira/search.go index 5ae117bf..7deeb85a 100644 --- a/service/jira/search.go +++ b/service/jira/search.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type SearchSharedConnector interface { diff --git a/service/jira/server.go b/service/jira/server.go index fe1d9a89..ed9601c4 100644 --- a/service/jira/server.go +++ b/service/jira/server.go @@ -2,7 +2,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ServerConnector interface { diff --git a/service/jira/task.go b/service/jira/task.go index f42fd443..825b9b36 100644 --- a/service/jira/task.go +++ b/service/jira/task.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // TaskConnector the interface for the task methods of the Jira Service. diff --git a/service/jira/team.go b/service/jira/team.go index 992ca18f..0fe059db 100644 --- a/service/jira/team.go +++ b/service/jira/team.go @@ -2,7 +2,7 @@ package jira import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // TeamConnector is an interface that defines the methods available from Roadmap Teams API. diff --git a/service/jira/type.go b/service/jira/type.go index 988f1a6e..10c8469d 100644 --- a/service/jira/type.go +++ b/service/jira/type.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type TypeConnector interface { diff --git a/service/jira/user.go b/service/jira/user.go index e394c0e2..7fc6a77e 100644 --- a/service/jira/user.go +++ b/service/jira/user.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type UserConnector interface { diff --git a/service/jira/vote.go b/service/jira/vote.go index dda0c662..913d4619 100644 --- a/service/jira/vote.go +++ b/service/jira/vote.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // VoteConnector is an interface that defines the methods available from VoteConnector API. diff --git a/service/jira/watcher.go b/service/jira/watcher.go index 0081db26..8c5b14af 100644 --- a/service/jira/watcher.go +++ b/service/jira/watcher.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // WatcherConnector is an interface that defines the methods available from WatcherConnector API. diff --git a/service/jira/workflow.go b/service/jira/workflow.go index 78886559..e9682fdf 100644 --- a/service/jira/workflow.go +++ b/service/jira/workflow.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type WorkflowConnector interface { diff --git a/service/jira/worklog.go b/service/jira/worklog.go index 81721b09..9c340c16 100644 --- a/service/jira/worklog.go +++ b/service/jira/worklog.go @@ -3,7 +3,7 @@ package jira import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type WorklogSharedConnector interface { diff --git a/service/mocks/Connector.go b/service/mocks/Connector.go index 17d8e5a5..a5788234 100644 --- a/service/mocks/Connector.go +++ b/service/mocks/Connector.go @@ -8,7 +8,7 @@ import ( mock "github.com/stretchr/testify/mock" - models "github.com/ctreminiom/go-atlassian/pkg/infra/models" + models "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // Connector is an autogenerated mock type for the Connector type diff --git a/service/sm/approval.go b/service/sm/approval.go index 126491f8..fc50e318 100644 --- a/service/sm/approval.go +++ b/service/sm/approval.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ApprovalConnector interface { diff --git a/service/sm/attachment.go b/service/sm/attachment.go index 3f8da0ea..3671b5b2 100644 --- a/service/sm/attachment.go +++ b/service/sm/attachment.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type AttachmentConnector interface { diff --git a/service/sm/comment.go b/service/sm/comment.go index ac8dbf86..5b0be9f6 100644 --- a/service/sm/comment.go +++ b/service/sm/comment.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) // CommentConnector defines the interface for the Comment methods of the Jira Service Management REST API. diff --git a/service/sm/customer.go b/service/sm/customer.go index f10c8042..dc1d4f9a 100644 --- a/service/sm/customer.go +++ b/service/sm/customer.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type CustomerConnector interface { diff --git a/service/sm/feedback.go b/service/sm/feedback.go index 3c0fd9be..f5099940 100644 --- a/service/sm/feedback.go +++ b/service/sm/feedback.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type FeedbackConnector interface { diff --git a/service/sm/info.go b/service/sm/info.go index d7907da4..1b537475 100644 --- a/service/sm/info.go +++ b/service/sm/info.go @@ -2,7 +2,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type InfoConnector interface { diff --git a/service/sm/knowledgebase.go b/service/sm/knowledgebase.go index da37b2c8..03c453c1 100644 --- a/service/sm/knowledgebase.go +++ b/service/sm/knowledgebase.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type KnowledgeBaseConnector interface { diff --git a/service/sm/organization.go b/service/sm/organization.go index 521513ce..2f008eb5 100644 --- a/service/sm/organization.go +++ b/service/sm/organization.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type OrganizationConnector interface { diff --git a/service/sm/participant.go b/service/sm/participant.go index 7119882d..09d05ea1 100644 --- a/service/sm/participant.go +++ b/service/sm/participant.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ParticipantConnector interface { diff --git a/service/sm/queue.go b/service/sm/queue.go index b287d21e..506a9e79 100644 --- a/service/sm/queue.go +++ b/service/sm/queue.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type QueueConnector interface { diff --git a/service/sm/request.go b/service/sm/request.go index 4ab09e93..cb1c2872 100644 --- a/service/sm/request.go +++ b/service/sm/request.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type RequestConnector interface { diff --git a/service/sm/service_desk.go b/service/sm/service_desk.go index a625624f..ed3b2d62 100644 --- a/service/sm/service_desk.go +++ b/service/sm/service_desk.go @@ -4,7 +4,7 @@ import ( "context" "io" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ServiceDeskConnector interface { diff --git a/service/sm/sla.go b/service/sm/sla.go index 6ff9fd4f..d7778bd5 100644 --- a/service/sm/sla.go +++ b/service/sm/sla.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type ServiceLevelAgreementConnector interface { diff --git a/service/sm/type.go b/service/sm/type.go index 6a2df1d6..c67beeba 100644 --- a/service/sm/type.go +++ b/service/sm/type.go @@ -3,7 +3,7 @@ package sm import ( "context" - model "github.com/ctreminiom/go-atlassian/pkg/infra/models" + model "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type TypeConnector interface { diff --git a/service/sm/workspace.go b/service/sm/workspace.go index 6f15d1d6..67adf212 100644 --- a/service/sm/workspace.go +++ b/service/sm/workspace.go @@ -2,7 +2,7 @@ package sm import ( "context" - "github.com/ctreminiom/go-atlassian/pkg/infra/models" + "github.com/ctreminiom/go-atlassian/v2/pkg/infra/models" ) type WorkSpaceConnector interface {