diff --git a/README.md b/README.md index 1ea2485..6d0ca1c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # DappsterOS-Common -[![Go Reference](https://pkg.go.dev/badge/github.com/dappster-io/DappsterOS-Common.svg)](https://pkg.go.dev/github.com/dappster-io/DappsterOS-Common) [![Go Report Card](https://goreportcard.com/badge/github.com/dappster-io/DappsterOS-Common)](https://goreportcard.com/report/github.com/dappster-io/DappsterOS-Common) [![codecov](https://codecov.io/github/dappster-io/DappsterOS-Common/branch/main/graph/badge.svg?token=KDJ5KAFX2Q)](https://codecov.io/github/dappster-io/DappsterOS-Common) +[![Go Reference](https://pkg.go.dev/badge/github.com/dappsteros-io/DappsterOS-Common.svg)](https://pkg.go.dev/github.com/dappsteros-io/DappsterOS-Common) [![Go Report Card](https://goreportcard.com/badge/github.com/dappsteros-io/DappsterOS-Common)](https://goreportcard.com/report/github.com/dappsteros-io/DappsterOS-Common) [![codecov](https://codecov.io/github/dappsteros-io/DappsterOS-Common/branch/main/graph/badge.svg?token=KDJ5KAFX2Q)](https://codecov.io/github/dappsteros-io/DappsterOS-Common) Common structs and functions for DappsterOS diff --git a/external/app_manage.go b/external/app_manage.go index 5bc8dfc..addbab4 100644 --- a/external/app_manage.go +++ b/external/app_manage.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/dappster-io/DappsterOS-Common/model" - http2 "github.com/dappster-io/DappsterOS-Common/utils/http" + "github.com/dappsteros-io/DappsterOS-Common/model" + http2 "github.com/dappsteros-io/DappsterOS-Common/utils/http" "github.com/tidwall/gjson" ) diff --git a/external/common.go b/external/common.go index 9e53f5c..1cfaf87 100644 --- a/external/common.go +++ b/external/common.go @@ -6,7 +6,7 @@ import ( "os" "time" - http2 "github.com/dappster-io/DappsterOS-Common/utils/http" + http2 "github.com/dappsteros-io/DappsterOS-Common/utils/http" ) func getAddress(addressFile string) (string, error) { diff --git a/external/gateway.go b/external/gateway.go index d77ed09..39b6b18 100644 --- a/external/gateway.go +++ b/external/gateway.go @@ -12,8 +12,8 @@ import ( "strings" "time" - "github.com/dappster-io/DappsterOS-Common/model" - http2 "github.com/dappster-io/DappsterOS-Common/utils/http" + "github.com/dappsteros-io/DappsterOS-Common/model" + http2 "github.com/dappsteros-io/DappsterOS-Common/utils/http" ) const ( diff --git a/external/notify.go b/external/notify.go index d3abbb0..f318088 100644 --- a/external/notify.go +++ b/external/notify.go @@ -9,7 +9,7 @@ import ( "strings" "time" - http2 "github.com/dappster-io/DappsterOS-Common/utils/http" + http2 "github.com/dappsteros-io/DappsterOS-Common/utils/http" ) const ( diff --git a/external/share.go b/external/share.go index ced51f0..51f2a3c 100644 --- a/external/share.go +++ b/external/share.go @@ -8,7 +8,7 @@ import ( "strings" "time" - http2 "github.com/dappster-io/DappsterOS-Common/utils/http" + http2 "github.com/dappsteros-io/DappsterOS-Common/utils/http" ) const ( diff --git a/external/user_service.go b/external/user_service.go index 7ecbd1d..51b0f84 100644 --- a/external/user_service.go +++ b/external/user_service.go @@ -13,7 +13,7 @@ import ( "path/filepath" "time" - "github.com/dappster-io/DappsterOS-Common/utils/jwt" + "github.com/dappsteros-io/DappsterOS-Common/utils/jwt" ) const ( diff --git a/go.mod b/go.mod index 43212f8..01a762b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dappster-io/DappsterOS-Common +module github.com/dappsteros-io/DappsterOS-Common go 1.21 diff --git a/utils/command/command.go b/utils/command/command.go index 9e44df6..e86c756 100644 --- a/utils/command/command.go +++ b/utils/command/command.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - exec2 "github.com/dappster-io/DappsterOS-Common/utils/exec" + exec2 "github.com/dappsteros-io/DappsterOS-Common/utils/exec" ) // Deprecated: This method is not safe, sould have ensure input. diff --git a/utils/file/file.go b/utils/file/file.go index 0a1c0e1..bbb649b 100644 --- a/utils/file/file.go +++ b/utils/file/file.go @@ -13,7 +13,7 @@ import ( "strconv" "strings" - "github.com/dappster-io/DappsterOS-Common/utils/logger" + "github.com/dappsteros-io/DappsterOS-Common/utils/logger" "github.com/mholt/archiver/v3" "go.uber.org/zap" ) diff --git a/utils/idevice/os_release.go b/utils/idevice/os_release.go index 1b1eb42..64d5757 100644 --- a/utils/idevice/os_release.go +++ b/utils/idevice/os_release.go @@ -1,7 +1,7 @@ package idevice import ( - "github.com/dappster-io/DappsterOS-Common/utils/file" + "github.com/dappsteros-io/DappsterOS-Common/utils/file" ) func GetOSRelease(name []string) (map[string]string, error) { diff --git a/utils/jwt/jwt_helper.go b/utils/jwt/jwt_helper.go index 708420f..70d6047 100644 --- a/utils/jwt/jwt_helper.go +++ b/utils/jwt/jwt_helper.go @@ -11,8 +11,8 @@ import ( "net/http" "strconv" - "github.com/dappster-io/DappsterOS-Common/model" - "github.com/dappster-io/DappsterOS-Common/utils/common_err" + "github.com/dappsteros-io/DappsterOS-Common/model" + "github.com/dappsteros-io/DappsterOS-Common/utils/common_err" echojwt "github.com/labstack/echo-jwt/v4" "github.com/labstack/echo/v4" echo_middleware "github.com/labstack/echo/v4/middleware" diff --git a/utils/jwt/jwt_test.go b/utils/jwt/jwt_test.go index a4c63a8..4b7b13c 100644 --- a/utils/jwt/jwt_test.go +++ b/utils/jwt/jwt_test.go @@ -7,9 +7,9 @@ import ( "net/http/httptest" "testing" - "github.com/dappster-io/DappsterOS-Common/model" - "github.com/dappster-io/DappsterOS-Common/utils/common_err" - "github.com/dappster-io/DappsterOS-Common/utils/jwt" + "github.com/dappsteros-io/DappsterOS-Common/model" + "github.com/dappsteros-io/DappsterOS-Common/utils/common_err" + "github.com/dappsteros-io/DappsterOS-Common/utils/jwt" "github.com/labstack/echo/v4" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/utils/logger/log_test.go b/utils/logger/log_test.go index 75d51b0..564bf3b 100644 --- a/utils/logger/log_test.go +++ b/utils/logger/log_test.go @@ -3,7 +3,7 @@ package logger_test import ( "testing" - "github.com/dappster-io/DappsterOS-Common/utils/logger" + "github.com/dappsteros-io/DappsterOS-Common/utils/logger" "github.com/stretchr/testify/assert" "go.uber.org/zap/zapcore" ) diff --git a/utils/port/port_test.go b/utils/port/port_test.go index 64fec48..46456af 100644 --- a/utils/port/port_test.go +++ b/utils/port/port_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/dappster-io/DappsterOS-Common/utils/port" + "github.com/dappsteros-io/DappsterOS-Common/utils/port" "github.com/stretchr/testify/assert" ) diff --git a/utils/random/random_test.go b/utils/random/random_test.go index 3955301..f057558 100644 --- a/utils/random/random_test.go +++ b/utils/random/random_test.go @@ -3,7 +3,7 @@ package random_test import ( "testing" - "github.com/dappster-io/DappsterOS-Common/utils/random" + "github.com/dappsteros-io/DappsterOS-Common/utils/random" ) func TestString(t *testing.T) { diff --git a/utils/version/version.go b/utils/version/version.go index 94cfa93..ecc73ca 100644 --- a/utils/version/version.go +++ b/utils/version/version.go @@ -8,7 +8,7 @@ import ( "gopkg.in/ini.v1" - "github.com/dappster-io/DappsterOS-Common/utils/file" + "github.com/dappsteros-io/DappsterOS-Common/utils/file" _ "github.com/mattn/go-sqlite3" // nolint )