From 6e1e141d641cf5c351b0bdf38f6218e0f0cc3911 Mon Sep 17 00:00:00 2001 From: Yoshi Date: Tue, 27 Sep 2022 16:31:08 +0200 Subject: [PATCH] z1984 - replace old repository name with the new one (#97) --- .github/workflows/tag.yml | 10 ++++----- CHANGELOG.md | 5 +++++ cmd/main.go | 4 ++-- go.mod | 2 +- src/cliAction/bucket/s3/handler_create.go | 4 ++-- src/cliAction/bucket/s3/handler_delete.go | 4 ++-- src/cliAction/bucket/zerops/handler.go | 6 ++--- src/cliAction/bucket/zerops/handler_create.go | 8 +++---- src/cliAction/bucket/zerops/handler_delete.go | 8 +++---- src/cliAction/buildDeploy/handler.go | 8 +++---- .../buildDeploy/handler_checkInputValues.go | 6 ++--- .../buildDeploy/handler_createAppVersion.go | 4 ++-- src/cliAction/buildDeploy/handler_deploy.go | 10 ++++----- .../buildDeploy/handler_packageUpload.go | 6 ++--- src/cliAction/buildDeploy/handler_push.go | 10 ++++----- .../buildDeploy/handler_savePackage.go | 2 +- .../importProjectService/dataParse.go | 2 +- src/cliAction/importProjectService/handler.go | 8 +++---- .../handler_getClientId.go | 2 +- .../importProjectService/handler_import.go | 8 +++---- .../importProjectService/handler_project.go | 8 +++---- .../importProjectService/handler_service.go | 6 ++--- .../importProjectService/yamlContent.go | 4 ++-- src/cliAction/installDaemon/handler.go | 2 +- src/cliAction/installDaemon/handler_run.go | 4 ++-- src/cliAction/login/handler.go | 12 +++++----- .../login/handler_parseRestApiError.go | 2 +- src/cliAction/removeDaemon/handler.go | 4 ++-- src/cliAction/removeDaemon/handler_run.go | 6 ++--- src/cliAction/serviceLogs/handler.go | 6 ++--- .../serviceLogs/handler_checkInputValues.go | 2 +- .../serviceLogs/handler_formatByTemplate.go | 2 +- .../serviceLogs/handler_getAppVersion.go | 6 ++--- .../serviceLogs/handler_getContainerId.go | 6 ++--- .../handler_getNameSourceContainerId.go | 2 +- .../serviceLogs/handler_getServiceLogUrl.go | 4 ++-- src/cliAction/serviceLogs/handler_run.go | 4 ++-- src/cliAction/serviceLogs/handler_ws.go | 2 +- src/cliAction/startStopDelete/handler.go | 8 +++---- .../startStopDelete/handler_confirm.go | 4 ++-- .../startStopDelete/handler_project.go | 4 ++-- .../startStopDelete/handler_runCmd.go | 8 +++---- .../startStopDelete/handler_service.go | 4 ++-- src/cliAction/startVpn/handler.go | 6 ++--- src/cliAction/startVpn/handler_run.go | 14 ++++++------ src/cliAction/statusVpn/handler.go | 8 +++---- src/cliAction/stopVpn/handler.go | 6 ++--- src/cliStorage/handler.go | 2 +- src/cmd/args.go | 2 +- src/cmd/bucket.go | 2 +- src/cmd/bucketS3.go | 4 ++-- src/cmd/bucketS3Create.go | 4 ++-- src/cmd/bucketS3Delete.go | 4 ++-- src/cmd/bucketZerops.go | 2 +- src/cmd/bucketZeropsCreate.go | 10 ++++----- src/cmd/bucketZeropsDelete.go | 10 ++++----- src/cmd/daemon.go | 2 +- src/cmd/daemonInstall.go | 6 ++--- src/cmd/daemonRemove.go | 10 ++++----- src/cmd/daemonRun.go | 2 +- src/cmd/daemonRun_other.go | 6 ++--- src/cmd/daemonRun_windows.go | 8 +++---- src/cmd/deploy.go | 12 +++++----- src/cmd/di.go | 22 +++++++++---------- src/cmd/log.go | 2 +- src/cmd/logShow.go | 4 ++-- src/cmd/login.go | 8 +++---- src/cmd/project.go | 2 +- src/cmd/projectDelete.go | 12 +++++----- src/cmd/projectImport.go | 12 +++++----- src/cmd/projectStart.go | 12 +++++----- src/cmd/projectStop.go | 12 +++++----- src/cmd/push.go | 12 +++++----- src/cmd/regionList.go | 2 +- src/cmd/root.go | 6 ++--- src/cmd/service.go | 2 +- src/cmd/serviceDelete.go | 12 +++++----- src/cmd/serviceImport.go | 12 +++++----- src/cmd/serviceLog.go | 10 ++++----- src/cmd/serviceStart.go | 12 +++++----- src/cmd/serviceStop.go | 12 +++++----- src/cmd/version.go | 2 +- src/cmd/vpn.go | 2 +- src/cmd/vpnStart.go | 10 ++++----- src/cmd/vpnStatus.go | 6 ++--- src/cmd/vpnStop.go | 6 ++--- src/daemonInstaller/handler.go | 4 ++-- src/daemonInstaller/handler_darwin.go | 4 ++-- src/daemonInstaller/handler_linux_systemd.go | 8 +++---- src/daemonInstaller/handler_windows.go | 6 ++--- src/daemonServer/handler.go | 4 ++-- src/daemonServer/handler_startVpn.go | 2 +- src/daemonServer/handler_statusVpn.go | 2 +- src/daemonServer/handler_stopVpn.go | 2 +- src/daemonStorage/handler.go | 2 +- src/dns/handler_cleanDns.go | 12 +++++----- src/dns/handler_detectDns_darwin.go | 2 +- src/dns/handler_detectDns_linux.go | 8 +++---- src/dns/handler_detectDns_windows.go | 2 +- src/dns/handler_isAlive.go | 4 ++-- src/dns/handler_reloadDns.go | 4 ++-- src/dns/handler_setDns.go | 10 ++++----- src/dns/setDnsNetworksetup.go | 4 ++-- src/dnsServer/handler_darwin.go | 4 ++-- src/dnsServer/handler_other.go | 2 +- src/prolongVpn/prolong.go | 12 +++++----- src/proto/daemon/client_address_darwin.go | 2 +- src/proto/daemon/client_address_linux.go | 2 +- src/proto/daemon/client_address_windows.go | 2 +- src/proto/daemon/zeropsDaemonProtocol.proto | 2 +- src/proto/errors.go | 6 ++--- src/proto/unary/interceptor.go | 4 ++-- src/proto/vpnproxy/client.go | 2 +- src/proto/vpnproxy/zeropsVpnProtocol.proto | 2 +- .../zBusinessZeropsApiProtocol/client.go | 2 +- .../zeropsApiProtocol.proto | 2 +- src/region/region.go | 6 ++--- src/support/support.go | 2 +- .../archiveClient/handler_findFilesByRules.go | 2 +- .../archiveClient/handler_findGitFiles.go | 2 +- src/utils/httpClient/handler.go | 4 ++-- src/utils/params/handler.go | 2 +- src/utils/processChecker/checkMultiple.go | 8 +++---- src/utils/processChecker/checkProcess.go | 6 ++--- src/utils/projectService/getClientId.go | 6 ++--- src/utils/projectService/getProjectById.go | 4 ++-- src/utils/projectService/getProjectId.go | 8 +++---- src/utils/projectService/getService.go | 6 ++--- src/utils/storage/handler.go | 2 +- src/utils/vpnStatus.go | 4 ++-- src/vpn/cleanVpn_darwin.go | 2 +- src/vpn/cleanVpn_linux.go | 2 +- src/vpn/cleanVpn_windows.go | 2 +- src/vpn/commands.go | 2 +- src/vpn/handler.go | 6 ++--- src/vpn/isVpnTunnelAlive.go | 2 +- src/vpn/public_statusVpn.go | 8 +++---- src/vpn/reloadVpn.go | 4 ++-- src/vpn/setVpn_darwin.go | 6 ++--- src/vpn/setVpn_linux.go | 4 ++-- src/vpn/setVpn_windows.go | 4 ++-- src/vpn/startVpn.go | 16 +++++++------- src/vpn/stopVpn.go | 2 +- 143 files changed, 395 insertions(+), 390 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index e2b39d1f..ae3fa199 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -13,7 +13,7 @@ jobs: include: - name: linux amd64 os: ubuntu-latest - buildCmd: env GOOS=linux GOARCH=amd64 go build -o builds/zcli-linux-amd64 -ldflags "-X github.com/zerops-io/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go + buildCmd: env GOOS=linux GOARCH=amd64 go build -o builds/zcli-linux-amd64 -ldflags "-X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go file: zcli-linux-amd64 compress: true strip: true @@ -21,7 +21,7 @@ jobs: runTests: true - name: linux 386 os: ubuntu-latest - buildCmd: env GOOS=linux GOARCH=386 go build -o builds/zcli-linux-i386 -ldflags "-X github.com/zerops-io/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go + buildCmd: env GOOS=linux GOARCH=386 go build -o builds/zcli-linux-i386 -ldflags "-X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go file: zcli-linux-i386 compress: true strip: true @@ -29,7 +29,7 @@ jobs: runTests: true - name: darwin amd64 os: macos-latest - buildCmd: env GOOS=darwin GOARCH=amd64 go build -o builds/zcli-darwin-amd64 -ldflags "-X github.com/zerops-io/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go + buildCmd: env GOOS=darwin GOARCH=amd64 go build -o builds/zcli-darwin-amd64 -ldflags "-X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go file: zcli-darwin-amd64 compress: false strip: false @@ -37,7 +37,7 @@ jobs: runTests: true - name: darwin arm64 os: macos-latest - buildCmd: env GOOS=darwin GOARCH=arm64 go build -o builds/zcli-darwin-arm64 -ldflags "-X github.com/zerops-io/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go + buildCmd: env GOOS=darwin GOARCH=arm64 go build -o builds/zcli-darwin-arm64 -ldflags "-X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go file: zcli-darwin-arm64 compress: false strip: false @@ -45,7 +45,7 @@ jobs: runTests: false - name: windows amd64 os: ubuntu-latest - buildCmd: env GOOS=windows GOARCH=amd64 go build -o builds/zcli-win-x64.exe -ldflags "-X github.com/zerops-io/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go + buildCmd: env GOOS=windows GOARCH=amd64 go build -o builds/zcli-win-x64.exe -ldflags "-X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go file: zcli-win-x64.exe compress: false strip: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 30141e30..6565db7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.12.10] - 2022-09-27 + +### Fixed +- replace old `zerops-io` repository to new `zeropsio` repository name + ## [v0.12.9] - 2022-09-27 ### Added diff --git a/cmd/main.go b/cmd/main.go index 24f96d05..2f396aab 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -3,9 +3,9 @@ package main import ( "os" - "github.com/zerops-io/zcli/src/metaError" + "github.com/zeropsio/zcli/src/metaError" - "github.com/zerops-io/zcli/src/cmd" + "github.com/zeropsio/zcli/src/cmd" ) var ( diff --git a/go.mod b/go.mod index 421d8cad..d72fecca 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/zerops-io/zcli +module github.com/zeropsio/zcli go 1.18 diff --git a/src/cliAction/bucket/s3/handler_create.go b/src/cliAction/bucket/s3/handler_create.go index 6ea749dd..14bc4545 100644 --- a/src/cliAction/bucket/s3/handler_create.go +++ b/src/cliAction/bucket/s3/handler_create.go @@ -10,8 +10,8 @@ import ( "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" ) func (h Handler) Create(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/bucket/s3/handler_delete.go b/src/cliAction/bucket/s3/handler_delete.go index 88576f55..60a0b5af 100644 --- a/src/cliAction/bucket/s3/handler_delete.go +++ b/src/cliAction/bucket/s3/handler_delete.go @@ -10,8 +10,8 @@ import ( "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" ) func (h Handler) Delete(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/bucket/zerops/handler.go b/src/cliAction/bucket/zerops/handler.go index bb173ac3..0a7a5bfd 100644 --- a/src/cliAction/bucket/zerops/handler.go +++ b/src/cliAction/bucket/zerops/handler.go @@ -1,9 +1,9 @@ package bucketZerops import ( - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) type Config struct { diff --git a/src/cliAction/bucket/zerops/handler_create.go b/src/cliAction/bucket/zerops/handler_create.go index 56a8415c..9007d88c 100644 --- a/src/cliAction/bucket/zerops/handler_create.go +++ b/src/cliAction/bucket/zerops/handler_create.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/projectService" "github.com/zeropsio/zerops-go/dto/input/body" "github.com/zeropsio/zerops-go/dto/input/path" "github.com/zeropsio/zerops-go/sdk" diff --git a/src/cliAction/bucket/zerops/handler_delete.go b/src/cliAction/bucket/zerops/handler_delete.go index 4ca1e677..cd8f931a 100644 --- a/src/cliAction/bucket/zerops/handler_delete.go +++ b/src/cliAction/bucket/zerops/handler_delete.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/projectService" "github.com/zeropsio/zerops-go/dto/input/path" "github.com/zeropsio/zerops-go/sdk" "github.com/zeropsio/zerops-go/sdkBase" diff --git a/src/cliAction/buildDeploy/handler.go b/src/cliAction/buildDeploy/handler.go index 909caea9..d9ac7290 100644 --- a/src/cliAction/buildDeploy/handler.go +++ b/src/cliAction/buildDeploy/handler.go @@ -1,10 +1,10 @@ package buildDeploy import ( - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/archiveClient" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/archiveClient" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) const zeropsYamlFileName = "zerops.yml" diff --git a/src/cliAction/buildDeploy/handler_checkInputValues.go b/src/cliAction/buildDeploy/handler_checkInputValues.go index 91115249..32b97188 100644 --- a/src/cliAction/buildDeploy/handler_checkInputValues.go +++ b/src/cliAction/buildDeploy/handler_checkInputValues.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) checkInputValues(ctx context.Context, config RunConfig) (*zBusinessZeropsApiProtocol.GetServiceStackByNameResponseDto, error) { diff --git a/src/cliAction/buildDeploy/handler_createAppVersion.go b/src/cliAction/buildDeploy/handler_createAppVersion.go index 59686f42..8b3eee8d 100644 --- a/src/cliAction/buildDeploy/handler_createAppVersion.go +++ b/src/cliAction/buildDeploy/handler_createAppVersion.go @@ -3,8 +3,8 @@ package buildDeploy import ( "context" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func (h *Handler) createAppVersion(ctx context.Context, config RunConfig, serviceStack *zBusinessZeropsApiProtocol.GetServiceStackByNameResponseDto) (*zBusinessZeropsApiProtocol.PostAppVersionResponseDto, error) { diff --git a/src/cliAction/buildDeploy/handler_deploy.go b/src/cliAction/buildDeploy/handler_deploy.go index 7adedc0e..7418d2d1 100644 --- a/src/cliAction/buildDeploy/handler_deploy.go +++ b/src/cliAction/buildDeploy/handler_deploy.go @@ -11,11 +11,11 @@ import ( "path/filepath" "time" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/processChecker" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/processChecker" "github.com/zeropsio/zerops-go/dto/input/body" "github.com/zeropsio/zerops-go/sdk" "github.com/zeropsio/zerops-go/sdkBase" diff --git a/src/cliAction/buildDeploy/handler_packageUpload.go b/src/cliAction/buildDeploy/handler_packageUpload.go index 43b88af4..04a0b249 100644 --- a/src/cliAction/buildDeploy/handler_packageUpload.go +++ b/src/cliAction/buildDeploy/handler_packageUpload.go @@ -6,9 +6,9 @@ import ( "io" "net/http" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" ) func (h *Handler) packageUpload(appVersion *zBusinessZeropsApiProtocol.PostAppVersionResponseDto, reader io.Reader) error { diff --git a/src/cliAction/buildDeploy/handler_push.go b/src/cliAction/buildDeploy/handler_push.go index 409387de..f34e402f 100644 --- a/src/cliAction/buildDeploy/handler_push.go +++ b/src/cliAction/buildDeploy/handler_push.go @@ -8,11 +8,11 @@ import ( "io" "os" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/processChecker" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/processChecker" ) func (h *Handler) Push(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/buildDeploy/handler_savePackage.go b/src/cliAction/buildDeploy/handler_savePackage.go index aafeefb2..9adefb09 100644 --- a/src/cliAction/buildDeploy/handler_savePackage.go +++ b/src/cliAction/buildDeploy/handler_savePackage.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) savePackage(config RunConfig, reader io.Reader) (io.Reader, error) { diff --git a/src/cliAction/importProjectService/dataParse.go b/src/cliAction/importProjectService/dataParse.go index 933245d8..96b0d821 100644 --- a/src/cliAction/importProjectService/dataParse.go +++ b/src/cliAction/importProjectService/dataParse.go @@ -3,7 +3,7 @@ package importProjectService import ( "fmt" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) // return number of services and process data [](process Id, service name, action name) diff --git a/src/cliAction/importProjectService/handler.go b/src/cliAction/importProjectService/handler.go index 7e7bd44c..5612a07a 100644 --- a/src/cliAction/importProjectService/handler.go +++ b/src/cliAction/importProjectService/handler.go @@ -1,10 +1,10 @@ package importProjectService import ( - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) type Config struct { diff --git a/src/cliAction/importProjectService/handler_getClientId.go b/src/cliAction/importProjectService/handler_getClientId.go index 77781938..d5dc94e9 100644 --- a/src/cliAction/importProjectService/handler_getClientId.go +++ b/src/cliAction/importProjectService/handler_getClientId.go @@ -3,7 +3,7 @@ package importProjectService import ( "context" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) getClientId(ctx context.Context, config RunConfig) (string, error) { diff --git a/src/cliAction/importProjectService/handler_import.go b/src/cliAction/importProjectService/handler_import.go index 35d819a1..b223d26f 100644 --- a/src/cliAction/importProjectService/handler_import.go +++ b/src/cliAction/importProjectService/handler_import.go @@ -9,10 +9,10 @@ import ( "github.com/briandowns/spinner" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/processChecker" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/processChecker" ) func (h *Handler) Import(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/importProjectService/handler_project.go b/src/cliAction/importProjectService/handler_project.go index e9b062f2..8bf850d2 100644 --- a/src/cliAction/importProjectService/handler_project.go +++ b/src/cliAction/importProjectService/handler_project.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func (h *Handler) sendProjectRequest(ctx context.Context, config RunConfig, yamlContent string) ([]*zBusinessZeropsApiProtocol.ProjectImportServiceStack, error) { diff --git a/src/cliAction/importProjectService/handler_service.go b/src/cliAction/importProjectService/handler_service.go index df544c52..adb0574d 100644 --- a/src/cliAction/importProjectService/handler_service.go +++ b/src/cliAction/importProjectService/handler_service.go @@ -3,9 +3,9 @@ package importProjectService import ( "context" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) sendServiceRequest(ctx context.Context, config RunConfig, yamlContent string) ([]*zBusinessZeropsApiProtocol.ProjectImportServiceStack, error) { diff --git a/src/cliAction/importProjectService/yamlContent.go b/src/cliAction/importProjectService/yamlContent.go index b68725e1..96bf81b3 100644 --- a/src/cliAction/importProjectService/yamlContent.go +++ b/src/cliAction/importProjectService/yamlContent.go @@ -7,8 +7,8 @@ import ( "path" "path/filepath" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" ) func getImportYamlContent(config RunConfig) ([]byte, error) { diff --git a/src/cliAction/installDaemon/handler.go b/src/cliAction/installDaemon/handler.go index 60645cb1..ae0d4ea5 100644 --- a/src/cliAction/installDaemon/handler.go +++ b/src/cliAction/installDaemon/handler.go @@ -1,7 +1,7 @@ package installDaemon import ( - "github.com/zerops-io/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/daemonInstaller" ) type Config struct { diff --git a/src/cliAction/installDaemon/handler_run.go b/src/cliAction/installDaemon/handler_run.go index 6bbe614f..7f3e01b8 100644 --- a/src/cliAction/installDaemon/handler_run.go +++ b/src/cliAction/installDaemon/handler_run.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - "github.com/zerops-io/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) Run(ctx context.Context, _ RunConfig) error { diff --git a/src/cliAction/login/handler.go b/src/cliAction/login/handler.go index 53d16e95..b5193cf5 100644 --- a/src/cliAction/login/handler.go +++ b/src/cliAction/login/handler.go @@ -7,12 +7,12 @@ import ( "fmt" "net/http" - "github.com/zerops-io/zcli/src/cliStorage" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/cliStorage" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" ) type Config struct { diff --git a/src/cliAction/login/handler_parseRestApiError.go b/src/cliAction/login/handler_parseRestApiError.go index 1fc08422..1e55e0b7 100644 --- a/src/cliAction/login/handler_parseRestApiError.go +++ b/src/cliAction/login/handler_parseRestApiError.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) type failResponse struct { diff --git a/src/cliAction/removeDaemon/handler.go b/src/cliAction/removeDaemon/handler.go index f9be2055..787e5074 100644 --- a/src/cliAction/removeDaemon/handler.go +++ b/src/cliAction/removeDaemon/handler.go @@ -1,8 +1,8 @@ package removeDaemon import ( - "github.com/zerops-io/zcli/src/cliAction/stopVpn" - "github.com/zerops-io/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/cliAction/stopVpn" + "github.com/zeropsio/zcli/src/daemonInstaller" ) type Config struct { diff --git a/src/cliAction/removeDaemon/handler_run.go b/src/cliAction/removeDaemon/handler_run.go index e2462678..16046250 100644 --- a/src/cliAction/removeDaemon/handler_run.go +++ b/src/cliAction/removeDaemon/handler_run.go @@ -5,14 +5,14 @@ import ( "errors" "fmt" - "github.com/zerops-io/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/daemonInstaller" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/zerops-io/zcli/src/cliAction/stopVpn" + "github.com/zeropsio/zcli/src/cliAction/stopVpn" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) Run(ctx context.Context, _ RunConfig) error { diff --git a/src/cliAction/serviceLogs/handler.go b/src/cliAction/serviceLogs/handler.go index 7c08674b..83f812cd 100644 --- a/src/cliAction/serviceLogs/handler.go +++ b/src/cliAction/serviceLogs/handler.go @@ -1,9 +1,9 @@ package serviceLogs import ( - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) type Config struct { diff --git a/src/cliAction/serviceLogs/handler_checkInputValues.go b/src/cliAction/serviceLogs/handler_checkInputValues.go index dc0a9228..86dc2f15 100644 --- a/src/cliAction/serviceLogs/handler_checkInputValues.go +++ b/src/cliAction/serviceLogs/handler_checkInputValues.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) type InputValues struct { diff --git a/src/cliAction/serviceLogs/handler_formatByTemplate.go b/src/cliAction/serviceLogs/handler_formatByTemplate.go index 8dd13dda..386eb190 100644 --- a/src/cliAction/serviceLogs/handler_formatByTemplate.go +++ b/src/cliAction/serviceLogs/handler_formatByTemplate.go @@ -9,7 +9,7 @@ import ( "golang.org/x/text/cases" "golang.org/x/text/language" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func getFullWithTemplate(logData []Data, formatTemplate string) error { diff --git a/src/cliAction/serviceLogs/handler_getAppVersion.go b/src/cliAction/serviceLogs/handler_getAppVersion.go index b4778be1..cf7debd4 100644 --- a/src/cliAction/serviceLogs/handler_getAppVersion.go +++ b/src/cliAction/serviceLogs/handler_getAppVersion.go @@ -6,9 +6,9 @@ import ( "net/http" "time" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/projectService" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/utils/sdkConfig" "github.com/zeropsio/zerops-go/dto/input/body" "github.com/zeropsio/zerops-go/sdk" "github.com/zeropsio/zerops-go/sdkBase" diff --git a/src/cliAction/serviceLogs/handler_getContainerId.go b/src/cliAction/serviceLogs/handler_getContainerId.go index 7fdaef39..5159a6cc 100644 --- a/src/cliAction/serviceLogs/handler_getContainerId.go +++ b/src/cliAction/serviceLogs/handler_getContainerId.go @@ -6,9 +6,9 @@ import ( "net/http" "time" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/projectService" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/utils/sdkConfig" "github.com/zeropsio/zerops-go/dto/input/body" "github.com/zeropsio/zerops-go/sdk" "github.com/zeropsio/zerops-go/sdkBase" diff --git a/src/cliAction/serviceLogs/handler_getNameSourceContainerId.go b/src/cliAction/serviceLogs/handler_getNameSourceContainerId.go index e3c233e4..faf7d0e3 100644 --- a/src/cliAction/serviceLogs/handler_getNameSourceContainerId.go +++ b/src/cliAction/serviceLogs/handler_getNameSourceContainerId.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) getNameSourceContainerId(config RunConfig) (serviceName, source string, containerId int, err error) { diff --git a/src/cliAction/serviceLogs/handler_getServiceLogUrl.go b/src/cliAction/serviceLogs/handler_getServiceLogUrl.go index 976bdd11..6d894c75 100644 --- a/src/cliAction/serviceLogs/handler_getServiceLogUrl.go +++ b/src/cliAction/serviceLogs/handler_getServiceLogUrl.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/sdkConfig" "github.com/zeropsio/zerops-go/dto/input/path" "github.com/zeropsio/zerops-go/sdk" "github.com/zeropsio/zerops-go/sdkBase" diff --git a/src/cliAction/serviceLogs/handler_run.go b/src/cliAction/serviceLogs/handler_run.go index 62584e62..b55da4ea 100644 --- a/src/cliAction/serviceLogs/handler_run.go +++ b/src/cliAction/serviceLogs/handler_run.go @@ -3,8 +3,8 @@ package serviceLogs import ( "context" "fmt" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) Run(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/serviceLogs/handler_ws.go b/src/cliAction/serviceLogs/handler_ws.go index 54cca763..4707260f 100644 --- a/src/cliAction/serviceLogs/handler_ws.go +++ b/src/cliAction/serviceLogs/handler_ws.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "github.com/gorilla/websocket" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "os" "os/signal" "strings" diff --git a/src/cliAction/startStopDelete/handler.go b/src/cliAction/startStopDelete/handler.go index a9c50359..ad65f66d 100644 --- a/src/cliAction/startStopDelete/handler.go +++ b/src/cliAction/startStopDelete/handler.go @@ -3,10 +3,10 @@ package startStopDelete import ( "context" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) type Config struct { diff --git a/src/cliAction/startStopDelete/handler_confirm.go b/src/cliAction/startStopDelete/handler_confirm.go index d332ba6d..b65b0341 100644 --- a/src/cliAction/startStopDelete/handler_confirm.go +++ b/src/cliAction/startStopDelete/handler_confirm.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" ) func askForConfirmation(parent constants.ParentCmd) bool { diff --git a/src/cliAction/startStopDelete/handler_project.go b/src/cliAction/startStopDelete/handler_project.go index 86ae30da..1a863f39 100644 --- a/src/cliAction/startStopDelete/handler_project.go +++ b/src/cliAction/startStopDelete/handler_project.go @@ -3,8 +3,8 @@ package startStopDelete import ( "context" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func (h *Handler) ProjectStart(ctx context.Context, projectId string, _ string) (string, error) { diff --git a/src/cliAction/startStopDelete/handler_runCmd.go b/src/cliAction/startStopDelete/handler_runCmd.go index 2fd56462..5dd517b7 100644 --- a/src/cliAction/startStopDelete/handler_runCmd.go +++ b/src/cliAction/startStopDelete/handler_runCmd.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/processChecker" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/processChecker" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) Run(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/startStopDelete/handler_service.go b/src/cliAction/startStopDelete/handler_service.go index d566cdf9..c17364df 100644 --- a/src/cliAction/startStopDelete/handler_service.go +++ b/src/cliAction/startStopDelete/handler_service.go @@ -3,8 +3,8 @@ package startStopDelete import ( "context" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func (h *Handler) ServiceStart(ctx context.Context, _ string, serviceId string) (string, error) { diff --git a/src/cliAction/startVpn/handler.go b/src/cliAction/startVpn/handler.go index 709feb4d..014def2f 100644 --- a/src/cliAction/startVpn/handler.go +++ b/src/cliAction/startVpn/handler.go @@ -1,9 +1,9 @@ package startVpn import ( - "github.com/zerops-io/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) type Config struct { diff --git a/src/cliAction/startVpn/handler_run.go b/src/cliAction/startVpn/handler_run.go index 304d2c76..ec326597 100644 --- a/src/cliAction/startVpn/handler_run.go +++ b/src/cliAction/startVpn/handler_run.go @@ -8,13 +8,13 @@ import ( "github.com/peterh/liner" - "github.com/zerops-io/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils" - "github.com/zerops-io/zcli/src/utils/projectService" + "github.com/zeropsio/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils/projectService" ) func (h *Handler) Run(ctx context.Context, config RunConfig) error { diff --git a/src/cliAction/statusVpn/handler.go b/src/cliAction/statusVpn/handler.go index 3cda0c97..89988378 100644 --- a/src/cliAction/statusVpn/handler.go +++ b/src/cliAction/statusVpn/handler.go @@ -4,12 +4,12 @@ import ( "context" "fmt" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils" ) type Config struct { diff --git a/src/cliAction/stopVpn/handler.go b/src/cliAction/stopVpn/handler.go index 240c1f46..340b4d51 100644 --- a/src/cliAction/stopVpn/handler.go +++ b/src/cliAction/stopVpn/handler.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) type Config struct { diff --git a/src/cliStorage/handler.go b/src/cliStorage/handler.go index 068b3c41..3b1a1b57 100644 --- a/src/cliStorage/handler.go +++ b/src/cliStorage/handler.go @@ -1,6 +1,6 @@ package cliStorage -import "github.com/zerops-io/zcli/src/utils/storage" +import "github.com/zeropsio/zcli/src/utils/storage" type Handler struct { *storage.Handler[Data] diff --git a/src/cmd/args.go b/src/cmd/args.go index 82034c13..86d54bcd 100644 --- a/src/cmd/args.go +++ b/src/cmd/args.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/bucket.go b/src/cmd/bucket.go index c3935a51..fdde1923 100644 --- a/src/cmd/bucket.go +++ b/src/cmd/bucket.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func bucketCmd() *cobra.Command { diff --git a/src/cmd/bucketS3.go b/src/cmd/bucketS3.go index cdc395e0..8dbebcce 100644 --- a/src/cmd/bucketS3.go +++ b/src/cmd/bucketS3.go @@ -7,8 +7,8 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/region" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/region" ) func bucketS3Cmd() *cobra.Command { diff --git a/src/cmd/bucketS3Create.go b/src/cmd/bucketS3Create.go index 2fea7300..0df2a1dd 100644 --- a/src/cmd/bucketS3Create.go +++ b/src/cmd/bucketS3Create.go @@ -7,8 +7,8 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/bucket/s3" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/cliAction/bucket/s3" + "github.com/zeropsio/zcli/src/i18n" ) func bucketS3CreateCmd() *cobra.Command { diff --git a/src/cmd/bucketS3Delete.go b/src/cmd/bucketS3Delete.go index aa8dabb0..05a46487 100644 --- a/src/cmd/bucketS3Delete.go +++ b/src/cmd/bucketS3Delete.go @@ -7,8 +7,8 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/bucket/s3" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/cliAction/bucket/s3" + "github.com/zeropsio/zcli/src/i18n" ) func bucketS3DeleteCmd() *cobra.Command { diff --git a/src/cmd/bucketZerops.go b/src/cmd/bucketZerops.go index 9e31cea1..d4661d5c 100644 --- a/src/cmd/bucketZerops.go +++ b/src/cmd/bucketZerops.go @@ -3,7 +3,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func bucketZeropsCmd() *cobra.Command { diff --git a/src/cmd/bucketZeropsCreate.go b/src/cmd/bucketZeropsCreate.go index 4bce68a0..81acbf1d 100644 --- a/src/cmd/bucketZeropsCreate.go +++ b/src/cmd/bucketZeropsCreate.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/bucket/zerops" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/bucket/zerops" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func bucketZeropsCreateCmd() *cobra.Command { diff --git a/src/cmd/bucketZeropsDelete.go b/src/cmd/bucketZeropsDelete.go index 82cbc2d6..c53c7ee7 100644 --- a/src/cmd/bucketZeropsDelete.go +++ b/src/cmd/bucketZeropsDelete.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/bucket/zerops" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/bucket/zerops" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func bucketZeropsDeleteCmd() *cobra.Command { diff --git a/src/cmd/daemon.go b/src/cmd/daemon.go index 9d658eee..b3b2b0b0 100644 --- a/src/cmd/daemon.go +++ b/src/cmd/daemon.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/daemonInstall.go b/src/cmd/daemonInstall.go index 4af95a20..768ba3c5 100644 --- a/src/cmd/daemonInstall.go +++ b/src/cmd/daemonInstall.go @@ -3,11 +3,11 @@ package cmd import ( "context" - "github.com/zerops-io/zcli/src/cliAction/installDaemon" + "github.com/zeropsio/zcli/src/cliAction/installDaemon" "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/i18n" ) func daemonInstallCmd() *cobra.Command { diff --git a/src/cmd/daemonRemove.go b/src/cmd/daemonRemove.go index e57f6c13..e6713352 100644 --- a/src/cmd/daemonRemove.go +++ b/src/cmd/daemonRemove.go @@ -3,13 +3,13 @@ package cmd import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/cliAction/removeDaemon" - "github.com/zerops-io/zcli/src/cliAction/stopVpn" - "github.com/zerops-io/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/cliAction/removeDaemon" + "github.com/zeropsio/zcli/src/cliAction/stopVpn" + "github.com/zeropsio/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/daemonRun.go b/src/cmd/daemonRun.go index 4b1ab666..44b8e243 100644 --- a/src/cmd/daemonRun.go +++ b/src/cmd/daemonRun.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func daemonRunCmd() *cobra.Command { diff --git a/src/cmd/daemonRun_other.go b/src/cmd/daemonRun_other.go index 578fa3d0..94492525 100644 --- a/src/cmd/daemonRun_other.go +++ b/src/cmd/daemonRun_other.go @@ -8,9 +8,9 @@ import ( "path/filepath" "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonServer" - "github.com/zerops-io/zcli/src/vpn" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonServer" + "github.com/zeropsio/zcli/src/vpn" ) func createDaemonGrpcServer(vpn *vpn.Handler) (*daemonServer.Handler, error) { diff --git a/src/cmd/daemonRun_windows.go b/src/cmd/daemonRun_windows.go index 68f2694b..399462c5 100644 --- a/src/cmd/daemonRun_windows.go +++ b/src/cmd/daemonRun_windows.go @@ -12,10 +12,10 @@ import ( "github.com/judwhite/go-svc" "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonServer" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/vpn" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonServer" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/vpn" ) func createDaemonGrpcServer(vpn *vpn.Handler) (*daemonServer.Handler, error) { diff --git a/src/cmd/deploy.go b/src/cmd/deploy.go index d73c6b26..472826ee 100644 --- a/src/cmd/deploy.go +++ b/src/cmd/deploy.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/buildDeploy" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/archiveClient" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/buildDeploy" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/archiveClient" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func deployCmd() *cobra.Command { diff --git a/src/cmd/di.go b/src/cmd/di.go index 7d24f153..4e11762a 100644 --- a/src/cmd/di.go +++ b/src/cmd/di.go @@ -5,17 +5,17 @@ import ( "errors" "time" - "github.com/zerops-io/zcli/src/cliStorage" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/prolongVpn" - "github.com/zerops-io/zcli/src/region" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/logger" - "github.com/zerops-io/zcli/src/utils/storage" - "github.com/zerops-io/zcli/src/vpn" + "github.com/zeropsio/zcli/src/cliStorage" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/prolongVpn" + "github.com/zeropsio/zcli/src/region" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/utils/storage" + "github.com/zeropsio/zcli/src/vpn" ) func getToken(storage *cliStorage.Handler) (string, error) { diff --git a/src/cmd/log.go b/src/cmd/log.go index 7470dc33..65003807 100644 --- a/src/cmd/log.go +++ b/src/cmd/log.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/logShow.go b/src/cmd/logShow.go index 69369020..00855db2 100644 --- a/src/cmd/logShow.go +++ b/src/cmd/logShow.go @@ -5,8 +5,8 @@ import ( "io" "os" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/login.go b/src/cmd/login.go index f271d8a4..72c01f34 100644 --- a/src/cmd/login.go +++ b/src/cmd/login.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/login" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/cliAction/login" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" ) func loginCmd() *cobra.Command { diff --git a/src/cmd/project.go b/src/cmd/project.go index 61dbe4d0..69ef15dd 100644 --- a/src/cmd/project.go +++ b/src/cmd/project.go @@ -2,7 +2,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func projectCmd() *cobra.Command { diff --git a/src/cmd/projectDelete.go b/src/cmd/projectDelete.go index 87314a36..b6e00237 100644 --- a/src/cmd/projectDelete.go +++ b/src/cmd/projectDelete.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func projectDeleteCmd() *cobra.Command { diff --git a/src/cmd/projectImport.go b/src/cmd/projectImport.go index 32ab0f63..ce6eb819 100644 --- a/src/cmd/projectImport.go +++ b/src/cmd/projectImport.go @@ -4,12 +4,12 @@ import ( "context" "time" - "github.com/zerops-io/zcli/src/cliAction/importProjectService" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/importProjectService" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" "github.com/spf13/cobra" ) diff --git a/src/cmd/projectStart.go b/src/cmd/projectStart.go index 31c92712..d92852aa 100644 --- a/src/cmd/projectStart.go +++ b/src/cmd/projectStart.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func projectStartCmd() *cobra.Command { diff --git a/src/cmd/projectStop.go b/src/cmd/projectStop.go index 09541872..841be6f8 100644 --- a/src/cmd/projectStop.go +++ b/src/cmd/projectStop.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func projectStopCmd() *cobra.Command { diff --git a/src/cmd/push.go b/src/cmd/push.go index 2b058c67..e01622e0 100644 --- a/src/cmd/push.go +++ b/src/cmd/push.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/buildDeploy" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/archiveClient" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/buildDeploy" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/archiveClient" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func pushCmd() *cobra.Command { diff --git a/src/cmd/regionList.go b/src/cmd/regionList.go index f9d7cb73..6d4135ec 100644 --- a/src/cmd/regionList.go +++ b/src/cmd/regionList.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) const defaultRegionUrl = "https://api.app.zerops.io/api/rest/public/region/zcli" diff --git a/src/cmd/root.go b/src/cmd/root.go index 16746f7d..90fffb9f 100644 --- a/src/cmd/root.go +++ b/src/cmd/root.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/support" - paramsPackage "github.com/zerops-io/zcli/src/utils/params" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/support" + paramsPackage "github.com/zeropsio/zcli/src/utils/params" ) var ( diff --git a/src/cmd/service.go b/src/cmd/service.go index 552887fe..ac3e4ae1 100644 --- a/src/cmd/service.go +++ b/src/cmd/service.go @@ -2,7 +2,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func serviceCmd() *cobra.Command { diff --git a/src/cmd/serviceDelete.go b/src/cmd/serviceDelete.go index 55564383..908a96f5 100644 --- a/src/cmd/serviceDelete.go +++ b/src/cmd/serviceDelete.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func serviceDeleteCmd() *cobra.Command { diff --git a/src/cmd/serviceImport.go b/src/cmd/serviceImport.go index 6d22fffd..b42f4f23 100644 --- a/src/cmd/serviceImport.go +++ b/src/cmd/serviceImport.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/importProjectService" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/importProjectService" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func serviceImportCmd() *cobra.Command { diff --git a/src/cmd/serviceLog.go b/src/cmd/serviceLog.go index 501a8d48..0db7efb0 100644 --- a/src/cmd/serviceLog.go +++ b/src/cmd/serviceLog.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/serviceLogs" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/serviceLogs" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func serviceLogCmd() *cobra.Command { diff --git a/src/cmd/serviceStart.go b/src/cmd/serviceStart.go index 13a40be8..3721d67d 100644 --- a/src/cmd/serviceStart.go +++ b/src/cmd/serviceStart.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func serviceStartCmd() *cobra.Command { diff --git a/src/cmd/serviceStop.go b/src/cmd/serviceStop.go index e5b95ca9..c3250ee9 100644 --- a/src/cmd/serviceStop.go +++ b/src/cmd/serviceStop.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startStopDelete" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startStopDelete" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func serviceStopCmd() *cobra.Command { diff --git a/src/cmd/version.go b/src/cmd/version.go index a4063ce6..43b11665 100644 --- a/src/cmd/version.go +++ b/src/cmd/version.go @@ -5,7 +5,7 @@ import ( "runtime" "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) var Version string diff --git a/src/cmd/vpn.go b/src/cmd/vpn.go index 834507da..4a82fcd0 100644 --- a/src/cmd/vpn.go +++ b/src/cmd/vpn.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "github.com/spf13/cobra" ) diff --git a/src/cmd/vpnStart.go b/src/cmd/vpnStart.go index 10ec263d..a6abb852 100644 --- a/src/cmd/vpnStart.go +++ b/src/cmd/vpnStart.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/zerops-io/zcli/src/cliAction/startVpn" - "github.com/zerops-io/zcli/src/daemonInstaller" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/cliAction/startVpn" + "github.com/zeropsio/zcli/src/daemonInstaller" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func vpnStartCmd() *cobra.Command { diff --git a/src/cmd/vpnStatus.go b/src/cmd/vpnStatus.go index 1beec18b..43551030 100644 --- a/src/cmd/vpnStatus.go +++ b/src/cmd/vpnStatus.go @@ -3,11 +3,11 @@ package cmd import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" - "github.com/zerops-io/zcli/src/cliAction/statusVpn" + "github.com/zeropsio/zcli/src/cliAction/statusVpn" "github.com/spf13/cobra" ) diff --git a/src/cmd/vpnStop.go b/src/cmd/vpnStop.go index f712f37f..aad1e241 100644 --- a/src/cmd/vpnStop.go +++ b/src/cmd/vpnStop.go @@ -3,11 +3,11 @@ package cmd import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" - "github.com/zerops-io/zcli/src/cliAction/stopVpn" + "github.com/zeropsio/zcli/src/cliAction/stopVpn" "github.com/spf13/cobra" ) diff --git a/src/daemonInstaller/handler.go b/src/daemonInstaller/handler.go index a7f64c94..63cbe3b2 100644 --- a/src/daemonInstaller/handler.go +++ b/src/daemonInstaller/handler.go @@ -3,9 +3,9 @@ package daemonInstaller import ( "os/exec" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/utils/cmdRunner" ) type Config struct { diff --git a/src/daemonInstaller/handler_darwin.go b/src/daemonInstaller/handler_darwin.go index af7edafd..36bd6b6b 100644 --- a/src/daemonInstaller/handler_darwin.go +++ b/src/daemonInstaller/handler_darwin.go @@ -12,8 +12,8 @@ import ( "regexp" "text/template" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" ) type darwinRecord struct { diff --git a/src/daemonInstaller/handler_linux_systemd.go b/src/daemonInstaller/handler_linux_systemd.go index cf85d4de..1297e212 100644 --- a/src/daemonInstaller/handler_linux_systemd.go +++ b/src/daemonInstaller/handler_linux_systemd.go @@ -14,10 +14,10 @@ import ( "strings" "text/template" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dns" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dns" + "github.com/zeropsio/zcli/src/i18n" ) type systemDRecord struct { diff --git a/src/daemonInstaller/handler_windows.go b/src/daemonInstaller/handler_windows.go index 88470e58..44893774 100644 --- a/src/daemonInstaller/handler_windows.go +++ b/src/daemonInstaller/handler_windows.go @@ -11,9 +11,9 @@ import ( "strings" "syscall" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils" "golang.org/x/sys/windows" "golang.org/x/sys/windows/svc" "golang.org/x/sys/windows/svc/mgr" diff --git a/src/daemonServer/handler.go b/src/daemonServer/handler.go index 708796fb..06c53300 100644 --- a/src/daemonServer/handler.go +++ b/src/daemonServer/handler.go @@ -9,9 +9,9 @@ import ( "os" "time" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/vpn" + "github.com/zeropsio/zcli/src/vpn" "google.golang.org/grpc" ) diff --git a/src/daemonServer/handler_startVpn.go b/src/daemonServer/handler_startVpn.go index 1c140b88..8e529851 100644 --- a/src/daemonServer/handler_startVpn.go +++ b/src/daemonServer/handler_startVpn.go @@ -3,7 +3,7 @@ package daemonServer import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" ) func (h *Handler) StartVpn(ctx context.Context, request *daemon.StartVpnRequest) (*daemon.VpnStatus, error) { diff --git a/src/daemonServer/handler_statusVpn.go b/src/daemonServer/handler_statusVpn.go index fa98dbcc..c75d627b 100644 --- a/src/daemonServer/handler_statusVpn.go +++ b/src/daemonServer/handler_statusVpn.go @@ -3,7 +3,7 @@ package daemonServer import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" ) func (h *Handler) StatusVpn(ctx context.Context, _ *daemon.StatusVpnRequest) (*daemon.VpnStatus, error) { diff --git a/src/daemonServer/handler_stopVpn.go b/src/daemonServer/handler_stopVpn.go index 651cc689..9c44f33a 100644 --- a/src/daemonServer/handler_stopVpn.go +++ b/src/daemonServer/handler_stopVpn.go @@ -3,7 +3,7 @@ package daemonServer import ( "context" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" ) func (h *Handler) StopVpn(ctx context.Context, _ *daemon.StopVpnRequest) (*daemon.VpnStatus, error) { diff --git a/src/daemonStorage/handler.go b/src/daemonStorage/handler.go index 0d99096e..2a8854ed 100644 --- a/src/daemonStorage/handler.go +++ b/src/daemonStorage/handler.go @@ -4,7 +4,7 @@ import ( "net" "time" - "github.com/zerops-io/zcli/src/utils/storage" + "github.com/zeropsio/zcli/src/utils/storage" ) type Handler struct { diff --git a/src/dns/handler_cleanDns.go b/src/dns/handler_cleanDns.go index f59baed3..5e5d5cce 100644 --- a/src/dns/handler_cleanDns.go +++ b/src/dns/handler_cleanDns.go @@ -4,12 +4,12 @@ import ( "context" "os/exec" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" - "github.com/zerops-io/zcli/src/utils" - "github.com/zerops-io/zcli/src/utils/cmdRunner" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/utils/logger" ) func CleanDns(_ context.Context, _ logger.Logger, data daemonStorage.Data, dnsServer *dnsServer.Handler) error { diff --git a/src/dns/handler_detectDns_darwin.go b/src/dns/handler_detectDns_darwin.go index 141f312b..03c18fad 100644 --- a/src/dns/handler_detectDns_darwin.go +++ b/src/dns/handler_detectDns_darwin.go @@ -5,7 +5,7 @@ package dns import ( "os/exec" - "github.com/zerops-io/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/daemonStorage" ) func DetectDns() (daemonStorage.LocalDnsManagement, error) { diff --git a/src/dns/handler_detectDns_linux.go b/src/dns/handler_detectDns_linux.go index 54d8b025..88c2f841 100644 --- a/src/dns/handler_detectDns_linux.go +++ b/src/dns/handler_detectDns_linux.go @@ -6,10 +6,10 @@ import ( "os/exec" "regexp" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/utils" - "github.com/zerops-io/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils/cmdRunner" ) func DetectDns() (daemonStorage.LocalDnsManagement, error) { diff --git a/src/dns/handler_detectDns_windows.go b/src/dns/handler_detectDns_windows.go index 5ecbfe4d..c436a45c 100644 --- a/src/dns/handler_detectDns_windows.go +++ b/src/dns/handler_detectDns_windows.go @@ -3,7 +3,7 @@ package dns import ( - "github.com/zerops-io/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/daemonStorage" ) func DetectDns() (daemonStorage.LocalDnsManagement, error) { diff --git a/src/dns/handler_isAlive.go b/src/dns/handler_isAlive.go index c2d390ef..8d7e0597 100644 --- a/src/dns/handler_isAlive.go +++ b/src/dns/handler_isAlive.go @@ -5,8 +5,8 @@ import ( "errors" "time" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/nettools" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/nettools" ) func IsAlive() (bool, error) { diff --git a/src/dns/handler_reloadDns.go b/src/dns/handler_reloadDns.go index 1376de0e..cdeb9ba2 100644 --- a/src/dns/handler_reloadDns.go +++ b/src/dns/handler_reloadDns.go @@ -1,8 +1,8 @@ package dns import ( - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" ) func ReloadDns(data daemonStorage.Data, dns *dnsServer.Handler) error { diff --git a/src/dns/handler_setDns.go b/src/dns/handler_setDns.go index 2a4b756d..05362ea0 100644 --- a/src/dns/handler_setDns.go +++ b/src/dns/handler_setDns.go @@ -6,11 +6,11 @@ import ( "strings" "time" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" - "github.com/zerops-io/zcli/src/utils" - "github.com/zerops-io/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils/cmdRunner" ) var UnknownDnsManagementErr = errors.New("unknown dns management") diff --git a/src/dns/setDnsNetworksetup.go b/src/dns/setDnsNetworksetup.go index 1b6a9cb8..580a4ea0 100644 --- a/src/dns/setDnsNetworksetup.go +++ b/src/dns/setDnsNetworksetup.go @@ -7,8 +7,8 @@ import ( "os/exec" "strings" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" ) func setDnsByNetworksetup(data daemonStorage.Data, dns *dnsServer.Handler, addZerops bool) error { diff --git a/src/dnsServer/handler_darwin.go b/src/dnsServer/handler_darwin.go index 647dc75c..00cd08a4 100644 --- a/src/dnsServer/handler_darwin.go +++ b/src/dnsServer/handler_darwin.go @@ -13,8 +13,8 @@ import ( "sync" "time" - "github.com/zerops-io/zcli/src/nettools" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/nettools" + "github.com/zeropsio/zcli/src/utils/logger" "github.com/miekg/dns" ) diff --git a/src/dnsServer/handler_other.go b/src/dnsServer/handler_other.go index 507671de..3b414733 100644 --- a/src/dnsServer/handler_other.go +++ b/src/dnsServer/handler_other.go @@ -7,7 +7,7 @@ import ( "context" "net" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/utils/logger" ) type Handler struct { diff --git a/src/prolongVpn/prolong.go b/src/prolongVpn/prolong.go index 3ea824fb..7895c044 100644 --- a/src/prolongVpn/prolong.go +++ b/src/prolongVpn/prolong.go @@ -6,12 +6,12 @@ import ( "os" "time" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/vpnproxy" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/vpnproxy" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/logger" "golang.zx2c4.com/wireguard/wgctrl" ) diff --git a/src/proto/daemon/client_address_darwin.go b/src/proto/daemon/client_address_darwin.go index 2c9d8da1..05c1780e 100644 --- a/src/proto/daemon/client_address_darwin.go +++ b/src/proto/daemon/client_address_darwin.go @@ -4,7 +4,7 @@ package daemon import ( - "github.com/zerops-io/zcli/src/constants" + "github.com/zeropsio/zcli/src/constants" ) func daemonDialAddress() string { diff --git a/src/proto/daemon/client_address_linux.go b/src/proto/daemon/client_address_linux.go index a7feae60..2833687e 100644 --- a/src/proto/daemon/client_address_linux.go +++ b/src/proto/daemon/client_address_linux.go @@ -4,7 +4,7 @@ package daemon import ( - "github.com/zerops-io/zcli/src/constants" + "github.com/zeropsio/zcli/src/constants" ) func daemonDialAddress() string { diff --git a/src/proto/daemon/client_address_windows.go b/src/proto/daemon/client_address_windows.go index b65b5c96..3a46116e 100644 --- a/src/proto/daemon/client_address_windows.go +++ b/src/proto/daemon/client_address_windows.go @@ -4,7 +4,7 @@ package daemon import ( - "github.com/zerops-io/zcli/src/constants" + "github.com/zeropsio/zcli/src/constants" ) func daemonDialAddress() string { diff --git a/src/proto/daemon/zeropsDaemonProtocol.proto b/src/proto/daemon/zeropsDaemonProtocol.proto index bc672e4a..09c520eb 100644 --- a/src/proto/daemon/zeropsDaemonProtocol.proto +++ b/src/proto/daemon/zeropsDaemonProtocol.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/zerops-io/zcli/src/protocol/daemon"; +option go_package = "github.com/zeropsio/zcli/src/protocol/daemon"; package zeropsDaemonProtocol; diff --git a/src/proto/errors.go b/src/proto/errors.go index 756ccfdd..5b5ce02e 100644 --- a/src/proto/errors.go +++ b/src/proto/errors.go @@ -7,9 +7,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/vpnproxy" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/vpnproxy" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) type HandleGrpcErrorOption func(*handleGrpcErrorConfig) diff --git a/src/proto/unary/interceptor.go b/src/proto/unary/interceptor.go index ed5c50b5..b1d83f85 100644 --- a/src/proto/unary/interceptor.go +++ b/src/proto/unary/interceptor.go @@ -8,10 +8,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/zerops-io/zcli/src/utils/uuid" + "github.com/zeropsio/zcli/src/utils/uuid" "google.golang.org/grpc/metadata" - "github.com/zerops-io/zcli/src/support" + "github.com/zeropsio/zcli/src/support" "google.golang.org/grpc" ) diff --git a/src/proto/vpnproxy/client.go b/src/proto/vpnproxy/client.go index c864367c..9d4b9e3a 100644 --- a/src/proto/vpnproxy/client.go +++ b/src/proto/vpnproxy/client.go @@ -3,7 +3,7 @@ package vpnproxy import ( "context" - "github.com/zerops-io/zcli/src/proto/unary" + "github.com/zeropsio/zcli/src/proto/unary" "google.golang.org/grpc" ) diff --git a/src/proto/vpnproxy/zeropsVpnProtocol.proto b/src/proto/vpnproxy/zeropsVpnProtocol.proto index 9a724345..9ff825dc 100644 --- a/src/proto/vpnproxy/zeropsVpnProtocol.proto +++ b/src/proto/vpnproxy/zeropsVpnProtocol.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/zerops-io/zcli/src/protocol/vpnproxy"; +option go_package = "github.com/zeropsio/zcli/src/protocol/vpnproxy"; package zeropsVpnProtocol; diff --git a/src/proto/zBusinessZeropsApiProtocol/client.go b/src/proto/zBusinessZeropsApiProtocol/client.go index 174aedd0..19d3af98 100644 --- a/src/proto/zBusinessZeropsApiProtocol/client.go +++ b/src/proto/zBusinessZeropsApiProtocol/client.go @@ -14,7 +14,7 @@ import ( "google.golang.org/grpc/credentials/oauth" "google.golang.org/grpc/security/advancedtls" - "github.com/zerops-io/zcli/src/proto/unary" + "github.com/zeropsio/zcli/src/proto/unary" ) type Config struct { diff --git a/src/proto/zBusinessZeropsApiProtocol/zeropsApiProtocol.proto b/src/proto/zBusinessZeropsApiProtocol/zeropsApiProtocol.proto index e289cad8..06e82594 100644 --- a/src/proto/zBusinessZeropsApiProtocol/zeropsApiProtocol.proto +++ b/src/proto/zBusinessZeropsApiProtocol/zeropsApiProtocol.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package zBusinessZeropsApiProtocol; -option go_package = "github.com/zerops-io/zcli/src/protocol/zBusinessZeropsApiProtocol"; +option go_package = "github.com/zeropsio/zcli/src/protocol/zBusinessZeropsApiProtocol"; service ZBusinessZeropsApiProtocol { rpc PutAppVersionDeploy(PutAppVersionDeployRequest) returns (PutAppVersionDeployResponse); diff --git a/src/region/region.go b/src/region/region.go index 3e22f42a..8147b9c1 100644 --- a/src/region/region.go +++ b/src/region/region.go @@ -5,9 +5,9 @@ import ( "errors" "sort" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/httpClient" - "github.com/zerops-io/zcli/src/utils/storage" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/httpClient" + "github.com/zeropsio/zcli/src/utils/storage" ) type Data struct { diff --git a/src/support/support.go b/src/support/support.go index 4aae8029..11b3aa71 100644 --- a/src/support/support.go +++ b/src/support/support.go @@ -3,7 +3,7 @@ package support import ( "context" - "github.com/zerops-io/zcli/src/utils/uuid" + "github.com/zeropsio/zcli/src/utils/uuid" ) type supportID struct{} diff --git a/src/utils/archiveClient/handler_findFilesByRules.go b/src/utils/archiveClient/handler_findFilesByRules.go index fc0e601d..70214876 100644 --- a/src/utils/archiveClient/handler_findFilesByRules.go +++ b/src/utils/archiveClient/handler_findFilesByRules.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) FindFilesByRules(workingDir string, sources []string) ([]File, error) { diff --git a/src/utils/archiveClient/handler_findGitFiles.go b/src/utils/archiveClient/handler_findGitFiles.go index 35bf0486..a3d76584 100644 --- a/src/utils/archiveClient/handler_findGitFiles.go +++ b/src/utils/archiveClient/handler_findGitFiles.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "github.com/zerops-io/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/utils/cmdRunner" ) func (h *Handler) FindGitFiles(workingDir string) (res []File, _ error) { diff --git a/src/utils/httpClient/handler.go b/src/utils/httpClient/handler.go index ccfb47a2..1915799b 100644 --- a/src/utils/httpClient/handler.go +++ b/src/utils/httpClient/handler.go @@ -8,9 +8,9 @@ import ( "net/http" "time" - "github.com/zerops-io/zcli/src/utils/uuid" + "github.com/zeropsio/zcli/src/utils/uuid" - "github.com/zerops-io/zcli/src/support" + "github.com/zeropsio/zcli/src/support" ) type Config struct { diff --git a/src/utils/params/handler.go b/src/utils/params/handler.go index 2fcca97f..cc7d2b6c 100644 --- a/src/utils/params/handler.go +++ b/src/utils/params/handler.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/zerops-io/zcli/src/constants" + "github.com/zeropsio/zcli/src/constants" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/src/utils/processChecker/checkMultiple.go b/src/utils/processChecker/checkMultiple.go index 8fc4f04e..87191f8d 100644 --- a/src/utils/processChecker/checkMultiple.go +++ b/src/utils/processChecker/checkMultiple.go @@ -10,10 +10,10 @@ import ( "github.com/briandowns/spinner" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func CheckMultiple(ctx context.Context, process []string, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient, wg *sync.WaitGroup, sp *spinner.Spinner) { diff --git a/src/utils/processChecker/checkProcess.go b/src/utils/processChecker/checkProcess.go index 4e0e8308..61642201 100644 --- a/src/utils/processChecker/checkProcess.go +++ b/src/utils/processChecker/checkProcess.go @@ -7,9 +7,9 @@ import ( "github.com/briandowns/spinner" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func CheckProcess(ctx context.Context, processId string, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient) error { diff --git a/src/utils/projectService/getClientId.go b/src/utils/projectService/getClientId.go index 63999932..8c3842c1 100644 --- a/src/utils/projectService/getClientId.go +++ b/src/utils/projectService/getClientId.go @@ -6,9 +6,9 @@ import ( "fmt" "strings" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func GetClientId(ctx context.Context, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient) (string, error) { diff --git a/src/utils/projectService/getProjectById.go b/src/utils/projectService/getProjectById.go index 15309578..8753e051 100644 --- a/src/utils/projectService/getProjectById.go +++ b/src/utils/projectService/getProjectById.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/sdkConfig" "github.com/zeropsio/zerops-go/apiError" "github.com/zeropsio/zerops-go/dto/input/path" "github.com/zeropsio/zerops-go/errorCode" diff --git a/src/utils/projectService/getProjectId.go b/src/utils/projectService/getProjectId.go index 230b889a..61df3bc0 100644 --- a/src/utils/projectService/getProjectId.go +++ b/src/utils/projectService/getProjectId.go @@ -6,10 +6,10 @@ import ( "fmt" "strings" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" - "github.com/zerops-io/zcli/src/utils/sdkConfig" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/utils/sdkConfig" ) func GetProjectId(ctx context.Context, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient, projectNameOrId string, sdkConfig sdkConfig.Config) (string, error) { diff --git a/src/utils/projectService/getService.go b/src/utils/projectService/getService.go index 0cc9cd26..78646178 100644 --- a/src/utils/projectService/getService.go +++ b/src/utils/projectService/getService.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" ) func GetServiceStack(ctx context.Context, apiGrpcClient zBusinessZeropsApiProtocol.ZBusinessZeropsApiProtocolClient, projectId string, serviceName string) (*zBusinessZeropsApiProtocol.GetServiceStackByNameResponseDto, error) { diff --git a/src/utils/storage/handler.go b/src/utils/storage/handler.go index 6ddba3b0..d5d2338a 100644 --- a/src/utils/storage/handler.go +++ b/src/utils/storage/handler.go @@ -6,7 +6,7 @@ import ( "path/filepath" "sync" - "github.com/zerops-io/zcli/src/utils" + "github.com/zeropsio/zcli/src/utils" ) type Config struct { diff --git a/src/utils/vpnStatus.go b/src/utils/vpnStatus.go index d45ac515..96c7c18b 100644 --- a/src/utils/vpnStatus.go +++ b/src/utils/vpnStatus.go @@ -3,9 +3,9 @@ package utils import ( "fmt" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/proto/daemon" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func PrintVpnStatus(vpnStatus *daemon.VpnStatus) { diff --git a/src/vpn/cleanVpn_darwin.go b/src/vpn/cleanVpn_darwin.go index 6c7b7076..3fe6014a 100644 --- a/src/vpn/cleanVpn_darwin.go +++ b/src/vpn/cleanVpn_darwin.go @@ -9,7 +9,7 @@ import ( "os" "path" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) cleanVpn(_ context.Context, interfaceName string) error { diff --git a/src/vpn/cleanVpn_linux.go b/src/vpn/cleanVpn_linux.go index 632304bb..21679d42 100644 --- a/src/vpn/cleanVpn_linux.go +++ b/src/vpn/cleanVpn_linux.go @@ -6,7 +6,7 @@ import ( "context" "net" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" ) func (h *Handler) cleanVpn(ctx context.Context, interfaceName string) error { diff --git a/src/vpn/cleanVpn_windows.go b/src/vpn/cleanVpn_windows.go index 0fc759da..ba5e30b8 100644 --- a/src/vpn/cleanVpn_windows.go +++ b/src/vpn/cleanVpn_windows.go @@ -7,7 +7,7 @@ import ( "errors" "os" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" "golang.zx2c4.com/wireguard/wgctrl" ) diff --git a/src/vpn/commands.go b/src/vpn/commands.go index a177e246..0a8b3ffd 100644 --- a/src/vpn/commands.go +++ b/src/vpn/commands.go @@ -5,7 +5,7 @@ import ( "errors" "os/exec" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/utils/logger" ) type command struct { diff --git a/src/vpn/handler.go b/src/vpn/handler.go index ceb1e151..fa19d771 100644 --- a/src/vpn/handler.go +++ b/src/vpn/handler.go @@ -4,9 +4,9 @@ import ( "sync" "time" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dnsServer" - "github.com/zerops-io/zcli/src/utils/logger" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dnsServer" + "github.com/zeropsio/zcli/src/utils/logger" ) type Config struct { diff --git a/src/vpn/isVpnTunnelAlive.go b/src/vpn/isVpnTunnelAlive.go index e01caea0..325a00ee 100644 --- a/src/vpn/isVpnTunnelAlive.go +++ b/src/vpn/isVpnTunnelAlive.go @@ -4,7 +4,7 @@ import ( "context" "net" - "github.com/zerops-io/zcli/src/nettools" + "github.com/zeropsio/zcli/src/nettools" ) func (h *Handler) isVpnTunnelAlive(ctx context.Context, serverIp net.IP) bool { diff --git a/src/vpn/public_statusVpn.go b/src/vpn/public_statusVpn.go index 1be8bf43..cadbced7 100644 --- a/src/vpn/public_statusVpn.go +++ b/src/vpn/public_statusVpn.go @@ -6,13 +6,13 @@ import ( "fmt" "os" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/proto/daemon" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/proto/daemon" "golang.zx2c4.com/wireguard/wgctrl" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/i18n" - "github.com/zerops-io/zcli/src/dns" + "github.com/zeropsio/zcli/src/dns" ) func (h *Handler) StatusVpn(ctx context.Context) (*daemon.VpnStatus, error) { diff --git a/src/vpn/reloadVpn.go b/src/vpn/reloadVpn.go index 07a0f7c7..9ea031ce 100644 --- a/src/vpn/reloadVpn.go +++ b/src/vpn/reloadVpn.go @@ -5,8 +5,8 @@ import ( "errors" "os" - "github.com/zerops-io/zcli/src/dns" - "github.com/zerops-io/zcli/src/i18n" + "github.com/zeropsio/zcli/src/dns" + "github.com/zeropsio/zcli/src/i18n" "golang.zx2c4.com/wireguard/wgctrl" ) diff --git a/src/vpn/setVpn_darwin.go b/src/vpn/setVpn_darwin.go index c76e9415..0df2e481 100644 --- a/src/vpn/setVpn_darwin.go +++ b/src/vpn/setVpn_darwin.go @@ -14,12 +14,12 @@ import ( "strings" "time" - vpnproxy "github.com/zerops-io/zcli/src/proto/vpnproxy" + vpnproxy "github.com/zeropsio/zcli/src/proto/vpnproxy" "golang.zx2c4.com/wireguard/wgctrl" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/utils/cmdRunner" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/utils/cmdRunner" ) const TunnelNameFile = "/tmp/wg-zerops" diff --git a/src/vpn/setVpn_linux.go b/src/vpn/setVpn_linux.go index 305cc69e..4fd76af8 100644 --- a/src/vpn/setVpn_linux.go +++ b/src/vpn/setVpn_linux.go @@ -13,8 +13,8 @@ import ( "time" "github.com/lxc/lxd/shared/logger" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/proto/vpnproxy" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/proto/vpnproxy" "golang.zx2c4.com/wireguard/wgctrl" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" ) diff --git a/src/vpn/setVpn_windows.go b/src/vpn/setVpn_windows.go index 4e796a19..bec3c927 100644 --- a/src/vpn/setVpn_windows.go +++ b/src/vpn/setVpn_windows.go @@ -15,8 +15,8 @@ import ( "text/template" "time" - "github.com/zerops-io/zcli/src/i18n" - vpnproxy "github.com/zerops-io/zcli/src/proto/vpnproxy" + "github.com/zeropsio/zcli/src/i18n" + vpnproxy "github.com/zeropsio/zcli/src/proto/vpnproxy" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" ) diff --git a/src/vpn/startVpn.go b/src/vpn/startVpn.go index e03398fd..d73788e9 100644 --- a/src/vpn/startVpn.go +++ b/src/vpn/startVpn.go @@ -8,14 +8,14 @@ import ( "sort" "strconv" - "github.com/zerops-io/zcli/src/constants" - "github.com/zerops-io/zcli/src/daemonStorage" - "github.com/zerops-io/zcli/src/dns" - "github.com/zerops-io/zcli/src/i18n" - "github.com/zerops-io/zcli/src/nettools" - "github.com/zerops-io/zcli/src/proto" - "github.com/zerops-io/zcli/src/proto/vpnproxy" - "github.com/zerops-io/zcli/src/proto/zBusinessZeropsApiProtocol" + "github.com/zeropsio/zcli/src/constants" + "github.com/zeropsio/zcli/src/daemonStorage" + "github.com/zeropsio/zcli/src/dns" + "github.com/zeropsio/zcli/src/i18n" + "github.com/zeropsio/zcli/src/nettools" + "github.com/zeropsio/zcli/src/proto" + "github.com/zeropsio/zcli/src/proto/vpnproxy" + "github.com/zeropsio/zcli/src/proto/zBusinessZeropsApiProtocol" "golang.zx2c4.com/wireguard/wgctrl" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" ) diff --git a/src/vpn/stopVpn.go b/src/vpn/stopVpn.go index 3123ebc9..dde7cc02 100644 --- a/src/vpn/stopVpn.go +++ b/src/vpn/stopVpn.go @@ -3,7 +3,7 @@ package vpn import ( "context" - "github.com/zerops-io/zcli/src/dns" + "github.com/zeropsio/zcli/src/dns" ) func (h *Handler) stopVpn(ctx context.Context) error {