diff --git a/application/db.go b/application/db.go index e21c374..8fb3d3d 100644 --- a/application/db.go +++ b/application/db.go @@ -2,12 +2,12 @@ package application import ( "errors" - "github.com/gly-hub/go-dandelion/config" - dgorm "github.com/gly-hub/go-dandelion/database/gorm" - "github.com/gly-hub/go-dandelion/logger" timex "github.com/gly-hub/toolbox/time" zedis "github.com/gomodule/redigo/redis" jsoniter "github.com/json-iterator/go" + "github.com/team-dandelion/go-dandelion/config" + dgorm "github.com/team-dandelion/go-dandelion/database/gorm" + "github.com/team-dandelion/go-dandelion/logger" "gorm.io/gorm" ) diff --git a/application/httpserver.go b/application/httpserver.go index 923ec58..1b2ac54 100644 --- a/application/httpserver.go +++ b/application/httpserver.go @@ -1,8 +1,8 @@ package application import ( - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/server/http" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/server/http" ) var httpServer *http.HttpServer diff --git a/application/logger.go b/application/logger.go index f0b4900..ddd83fa 100644 --- a/application/logger.go +++ b/application/logger.go @@ -1,8 +1,8 @@ package application import ( - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/logger" ) func initLogger() { diff --git a/application/plugin.go b/application/plugin.go index 63099b0..5216cbd 100644 --- a/application/plugin.go +++ b/application/plugin.go @@ -1,6 +1,6 @@ package application -import "github.com/gly-hub/go-dandelion/config" +import "github.com/team-dandelion/go-dandelion/config" /* 插件功能。 diff --git a/application/redis.go b/application/redis.go index 2ca9d95..f51c389 100644 --- a/application/redis.go +++ b/application/redis.go @@ -1,10 +1,10 @@ package application import ( - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/database/redigo" - "github.com/gly-hub/go-dandelion/database/redigo/smart_redis" timex "github.com/gly-hub/toolbox/time" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo/smart_redis" ) var redis *smart_redis.SmartRedis diff --git a/application/rpcserver.go b/application/rpcserver.go index 2bf12f9..3865794 100644 --- a/application/rpcserver.go +++ b/application/rpcserver.go @@ -4,16 +4,16 @@ import ( "context" "fmt" routing "github.com/gly-hub/fasthttp-routing" - "github.com/gly-hub/go-dandelion/config" - error_support "github.com/gly-hub/go-dandelion/error-support" - "github.com/gly-hub/go-dandelion/logger" - "github.com/gly-hub/go-dandelion/server/http" - "github.com/gly-hub/go-dandelion/server/rpcx" - "github.com/gly-hub/go-dandelion/telemetry" "github.com/gly-hub/toolbox/ip" "github.com/gly-hub/toolbox/stringx" jsoniter "github.com/json-iterator/go" "github.com/smallnest/rpcx/server" + "github.com/team-dandelion/go-dandelion/config" + error_support "github.com/team-dandelion/go-dandelion/error-support" + "github.com/team-dandelion/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/server/http" + "github.com/team-dandelion/go-dandelion/server/rpcx" + "github.com/team-dandelion/go-dandelion/telemetry" _ "net/http/pprof" "reflect" ) diff --git a/application/tracer.go b/application/tracer.go index e7dc0c7..b28154f 100644 --- a/application/tracer.go +++ b/application/tracer.go @@ -1,8 +1,8 @@ package application import ( - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/telemetry" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/telemetry" ) func initTracer() { diff --git a/database/gorm/gdb.go b/database/gorm/gdb.go index 19f7008..99261fb 100644 --- a/database/gorm/gdb.go +++ b/database/gorm/gdb.go @@ -1,11 +1,11 @@ package gorm import ( - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/database/redigo" - "github.com/gly-hub/go-dandelion/database/redigo/tools" timex "github.com/gly-hub/toolbox/time" jsoniter "github.com/json-iterator/go" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo/tools" "gorm.io/gorm" "sync" ) diff --git a/database/gorm/logger.go b/database/gorm/logger.go index e727022..931b7e7 100644 --- a/database/gorm/logger.go +++ b/database/gorm/logger.go @@ -4,10 +4,10 @@ import ( "context" "errors" "fmt" - loggerx "github.com/gly-hub/go-dandelion/logger" - "github.com/gly-hub/go-dandelion/telemetry" "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/log" + loggerx "github.com/team-dandelion/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/telemetry" glogger "gorm.io/gorm/logger" "gorm.io/gorm/utils" "strconv" diff --git a/database/redigo/logger/logger.go b/database/redigo/logger/logger.go index 2ba1a4a..17a34c1 100644 --- a/database/redigo/logger/logger.go +++ b/database/redigo/logger/logger.go @@ -4,11 +4,11 @@ import ( "bytes" "context" "fmt" - "github.com/gly-hub/go-dandelion/logger" - "github.com/gly-hub/go-dandelion/telemetry" "github.com/gomodule/redigo/redis" "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/log" + "github.com/team-dandelion/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/telemetry" "time" ) diff --git a/database/redigo/mode/alone/alone.go b/database/redigo/mode/alone/alone.go index 7058955..8760479 100644 --- a/database/redigo/mode/alone/alone.go +++ b/database/redigo/mode/alone/alone.go @@ -2,9 +2,9 @@ package alone import ( "context" - "github.com/gly-hub/go-dandelion/database/redigo" - "github.com/gly-hub/go-dandelion/database/redigo/logger" "github.com/gomodule/redigo/redis" + "github.com/team-dandelion/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo/logger" ) type aloneMode struct{ pool *redis.Pool } diff --git a/database/redigo/mode/alone/options.go b/database/redigo/mode/alone/options.go index adba3df..4df9312 100644 --- a/database/redigo/mode/alone/options.go +++ b/database/redigo/mode/alone/options.go @@ -3,7 +3,7 @@ package alone import ( "github.com/gomodule/redigo/redis" - "github.com/gly-hub/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo" ) type options struct { diff --git a/database/redigo/mode/cluster/cluster.go b/database/redigo/mode/cluster/cluster.go index 88a05cc..ad5d8ca 100644 --- a/database/redigo/mode/cluster/cluster.go +++ b/database/redigo/mode/cluster/cluster.go @@ -4,7 +4,7 @@ import ( "github.com/gomodule/redigo/redis" "github.com/mna/redisc" - "github.com/gly-hub/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo" ) type clusterMode struct { diff --git a/database/redigo/mode/cluster/options.go b/database/redigo/mode/cluster/options.go index b6e0e11..32b1316 100644 --- a/database/redigo/mode/cluster/options.go +++ b/database/redigo/mode/cluster/options.go @@ -5,7 +5,7 @@ import ( "github.com/gomodule/redigo/redis" - "github.com/gly-hub/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo" ) type options struct { diff --git a/database/redigo/mode/sentinel/options.go b/database/redigo/mode/sentinel/options.go index ea015b3..c7c34ba 100644 --- a/database/redigo/mode/sentinel/options.go +++ b/database/redigo/mode/sentinel/options.go @@ -3,7 +3,7 @@ package sentinel import ( "github.com/gomodule/redigo/redis" - "github.com/gly-hub/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo" ) type options struct { diff --git a/database/redigo/mode/sentinel/sentinel.go b/database/redigo/mode/sentinel/sentinel.go index 6f67a36..41f6aff 100644 --- a/database/redigo/mode/sentinel/sentinel.go +++ b/database/redigo/mode/sentinel/sentinel.go @@ -7,7 +7,7 @@ import ( "github.com/FZambia/sentinel" "github.com/gomodule/redigo/redis" - "github.com/gly-hub/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo" ) type sentinelMode struct { diff --git a/database/redigo/smart_redis/smart_redis.go b/database/redigo/smart_redis/smart_redis.go index 6d3eaf2..4dc8d65 100644 --- a/database/redigo/smart_redis/smart_redis.go +++ b/database/redigo/smart_redis/smart_redis.go @@ -2,11 +2,11 @@ package smart_redis import ( "errors" - "github.com/gly-hub/go-dandelion/database/redigo" - "github.com/gly-hub/go-dandelion/database/redigo/mode/alone" - "github.com/gly-hub/go-dandelion/database/redigo/mode/cluster" - "github.com/gly-hub/go-dandelion/database/redigo/mode/sentinel" "github.com/gomodule/redigo/redis" + "github.com/team-dandelion/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/database/redigo/mode/alone" + "github.com/team-dandelion/go-dandelion/database/redigo/mode/cluster" + "github.com/team-dandelion/go-dandelion/database/redigo/mode/sentinel" "time" ) diff --git a/database/redigo/tools/subscribe.go b/database/redigo/tools/subscribe.go index 6c5c529..13c3fd9 100644 --- a/database/redigo/tools/subscribe.go +++ b/database/redigo/tools/subscribe.go @@ -1,9 +1,9 @@ package tools import ( - "github.com/gly-hub/go-dandelion/database/redigo" - "github.com/gly-hub/go-dandelion/logger" "github.com/gomodule/redigo/redis" + "github.com/team-dandelion/go-dandelion/database/redigo" + "github.com/team-dandelion/go-dandelion/logger" "sync" "unsafe" ) diff --git a/go-dandelion-cli/cmd/application/server.go b/go-dandelion-cli/cmd/application/server.go index 8e35a2e..e3515a7 100644 --- a/go-dandelion-cli/cmd/application/server.go +++ b/go-dandelion-cli/cmd/application/server.go @@ -1,8 +1,8 @@ package application import ( - "github.com/gly-hub/go-dandelion/go-dandelion-cli/internal/build" "github.com/spf13/cobra" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/internal/build" ) var ( diff --git a/go-dandelion-cli/cmd/build/server.go b/go-dandelion-cli/cmd/build/server.go index 599738a..d3b76ed 100644 --- a/go-dandelion-cli/cmd/build/server.go +++ b/go-dandelion-cli/cmd/build/server.go @@ -2,8 +2,8 @@ package build import ( "fmt" - "github.com/gly-hub/go-dandelion/go-dandelion-cli/internal/build" "github.com/spf13/cobra" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/internal/build" ) var ( diff --git a/go-dandelion-cli/cmd/cobra.go b/go-dandelion-cli/cmd/cobra.go index 74a4787..63fb339 100644 --- a/go-dandelion-cli/cmd/cobra.go +++ b/go-dandelion-cli/cmd/cobra.go @@ -2,14 +2,14 @@ package cmd import ( "errors" - "github.com/gly-hub/go-dandelion/go-dandelion-cli/cmd/application" - "github.com/gly-hub/go-dandelion/go-dandelion-cli/cmd/build" "github.com/spf13/cobra" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/cmd/application" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/cmd/build" "os" ) var rootCmd = &cobra.Command{ - Use: "github.com/gly-hub/go-dandelion/go-dandelion-cli", + Use: "github.com/team-dandelion/go-dandelion/go-dandelion-cli", Short: "go-dandelion-cli", SilenceUsage: true, Long: "go-dandelion-cli", diff --git a/go-dandelion-cli/go.mod b/go-dandelion-cli/go.mod index c9d6ca1..13c86c9 100644 --- a/go-dandelion-cli/go.mod +++ b/go-dandelion-cli/go.mod @@ -1,11 +1,11 @@ -module github.com/gly-hub/go-dandelion/go-dandelion-cli +module github.com/team-dandelion/go-dandelion/go-dandelion-cli go 1.20 require ( github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be github.com/gly-hub/fasthttp-routing v0.0.0-20230103092213-f65d0ebb75bb - github.com/gly-hub/go-dandelion v1.1.1 + github.com/team-dandelion/go-dandelion v1.1.1 github.com/gly-hub/toolbox v0.0.0-20230606092113-55b7564cca88 github.com/spf13/cobra v1.7.0 ) diff --git a/go-dandelion-cli/go.sum b/go-dandelion-cli/go.sum index 48d5dad..bdaf23b 100644 --- a/go-dandelion-cli/go.sum +++ b/go-dandelion-cli/go.sum @@ -182,8 +182,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/gly-hub/fasthttp-routing v0.0.0-20230103092213-f65d0ebb75bb h1:zowBxKRjLgDHbSHcF8FfgfZr9beRYG58tokwDAiWGe0= github.com/gly-hub/fasthttp-routing v0.0.0-20230103092213-f65d0ebb75bb/go.mod h1:+Y557LGCG89Q4TwIdXw3NF/HJqNjlxz+mT4VmC5uX+E= -github.com/gly-hub/go-dandelion v1.1.1 h1:+HoRq2KdJSQ7w1xEVj66HLiv7ajKhgaD0QJjtkkS8HM= -github.com/gly-hub/go-dandelion v1.1.1/go.mod h1:1vQMgZHFYxd9vVHAeItMPofxQKMY/8KKbGvbzcC/33k= +github.com/team-dandelion/go-dandelion v1.1.1 h1:+HoRq2KdJSQ7w1xEVj66HLiv7ajKhgaD0QJjtkkS8HM= +github.com/team-dandelion/go-dandelion v1.1.1/go.mod h1:1vQMgZHFYxd9vVHAeItMPofxQKMY/8KKbGvbzcC/33k= github.com/gly-hub/toolbox v0.0.0-20230606092113-55b7564cca88 h1:QCEBUkQMCaELf32fKXDOIUcozX5tslciSj8HvNgoxTw= github.com/gly-hub/toolbox v0.0.0-20230606092113-55b7564cca88/go.mod h1:+HfT//1beTikSEa/wV9bUqOv2/7GUQ7Yc6C5ixoMhFg= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= diff --git a/go-dandelion-cli/internal/build/template.go b/go-dandelion-cli/internal/build/template.go index bf9a742..ecddb79 100644 --- a/go-dandelion-cli/internal/build/template.go +++ b/go-dandelion-cli/internal/build/template.go @@ -1,7 +1,7 @@ package build import ( - "github.com/gly-hub/go-dandelion/go-dandelion-cli/internal/asset" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/internal/asset" "os" "text/template" ) diff --git a/go-dandelion-cli/internal/template/cmd/apiserver.tmpl b/go-dandelion-cli/internal/template/cmd/apiserver.tmpl index 72130ea..6c80ddd 100644 --- a/go-dandelion-cli/internal/template/cmd/apiserver.tmpl +++ b/go-dandelion-cli/internal/template/cmd/apiserver.tmpl @@ -4,9 +4,9 @@ import ( "fmt" routing "github.com/gly-hub/fasthttp-routing" "{{ .PackageName }}/internal/route" - "github.com/gly-hub/go-dandelion/application" - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/application" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/logger" "github.com/gly-hub/toolbox/ip" "github.com/gly-hub/toolbox/stringx" "github.com/spf13/cobra" diff --git a/go-dandelion-cli/internal/template/cmd/cobra.tmpl b/go-dandelion-cli/internal/template/cmd/cobra.tmpl index 8127a06..dfa815c 100644 --- a/go-dandelion-cli/internal/template/cmd/cobra.tmpl +++ b/go-dandelion-cli/internal/template/cmd/cobra.tmpl @@ -3,7 +3,7 @@ package cmd import ( "errors" "{{ .PackageName }}/cmd/api" - "github.com/gly-hub/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/logger" "github.com/spf13/cobra" "os" ) diff --git a/go-dandelion-cli/internal/template/cmd/rpcserver.tmpl b/go-dandelion-cli/internal/template/cmd/rpcserver.tmpl index 8f89488..e4c2d21 100644 --- a/go-dandelion-cli/internal/template/cmd/rpcserver.tmpl +++ b/go-dandelion-cli/internal/template/cmd/rpcserver.tmpl @@ -4,9 +4,9 @@ import ( "fmt" "{{ .PackageName }}/boot" "{{ .PackageName }}/internal/service" - "github.com/gly-hub/go-dandelion/application" - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/application" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/logger" "github.com/gly-hub/toolbox/stringx" "github.com/spf13/cobra" "io/ioutil" diff --git a/go-dandelion-cli/internal/template/internal/route.tmpl b/go-dandelion-cli/internal/template/internal/route.tmpl index f01483f..924d01b 100644 --- a/go-dandelion-cli/internal/template/internal/route.tmpl +++ b/go-dandelion-cli/internal/template/internal/route.tmpl @@ -1,10 +1,10 @@ package route import ( - "github.com/gly-hub/go-dandelion/application" - "github.com/gly-hub/go-dandelion/config" - "github.com/gly-hub/go-dandelion/server/http" - routingSwagger "github.com/gly-hub/go-dandelion/swagger" + "github.com/team-dandelion/go-dandelion/application" + "github.com/team-dandelion/go-dandelion/config" + "github.com/team-dandelion/go-dandelion/server/http" + routingSwagger "github.com/team-dandelion/go-dandelion/swagger" ) func InitRoute() { diff --git a/go-dandelion-cli/main.go b/go-dandelion-cli/main.go index db6263c..f017a94 100644 --- a/go-dandelion-cli/main.go +++ b/go-dandelion-cli/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/gly-hub/go-dandelion/go-dandelion-cli/cmd" + "github.com/team-dandelion/go-dandelion/go-dandelion-cli/cmd" ) func main() { diff --git a/go.mod b/go.mod index 0f4b18b..b9dd911 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gly-hub/go-dandelion +module github.com/team-dandelion/go-dandelion go 1.18 diff --git a/readme-ZH.md b/readme-ZH.md index cdde10c..7353b8e 100644 --- a/readme-ZH.md +++ b/readme-ZH.md @@ -3,12 +3,12 @@ ## 📚关于go-dandelion go-dandelion项目意在通过集成相关组件,方便开发者快速构建项目框架,提升开发效率。不在浪费时间在各组组件的集成上,可快速进行业务开发。 -[![Go](https://github.com/gly-hub/go-dandelion/workflows/Go/badge.svg?branch=main)](https://github.com/gly-hub/go-dandelion/actions) -[![Go Report Card](https://goreportcard.com/badge/github.com/gly-hub/go-dandelion)](https://goreportcard.com/report/github.com/gly-hub/go-dandelion) +[![Go](https://github.com/team-dandelion/go-dandelion/workflows/Go/badge.svg?branch=main)](https://github.com/team-dandelion/go-dandelion/actions) +[![Go Report Card](https://goreportcard.com/badge/github.com/team-dandelion/go-dandelion)](https://goreportcard.com/report/github.com/team-dandelion/go-dandelion) [![codecov](https://codecov.io/gh/gly-hub/go-dandelion/branch/main/graph/badge.svg)](https://codecov.io/gh/gly-hub/go-dandelion) [![MIT license](https://img.shields.io/badge/License-Apache2.0-brightgreen.svg)](https://opensource.org/licenses/apache-2-0/) -[![Release](https://img.shields.io/badge/release-1.2.0-white.svg)](https://pkg.go.dev/github.com/gly-hub/go-dandelion/go-dandelion-cli?tab=doc) -[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/github.com/gly-hub/go-dandelion/go-dandelion-cli?tab=doc) +[![Release](https://img.shields.io/badge/release-1.2.0-white.svg)](https://pkg.go.dev/github.com/team-dandelion/go-dandelion/go-dandelion-cli?tab=doc) +[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/github.com/team-dandelion/go-dandelion/go-dandelion-cli?tab=doc) [![Security Status](https://www.murphysec.com/platform3/v31/badge/1666706410635550720.svg)](https://www.murphysec.com/console/report/1666706410597801984/1666706410635550720) @@ -34,8 +34,8 @@ go-dandelion项目意在通过集成相关组件,方便开发者快速构建 ### 1.安装 ``` -go get github.com/gly-hub/go-dandelion/go-dandelion-cli@latest -go install github.com/gly-hub/go-dandelion/go-dandelion-cli@latest +go get github.com/team-dandelion/go-dandelion/go-dandelion-cli@latest +go install github.com/team-dandelion/go-dandelion/go-dandelion-cli@latest ``` ### 2.创建项目 @@ -66,7 +66,7 @@ go build -o example-server ## 🔥贡献者 - + diff --git a/readme.md b/readme.md index 4581bc3..1b20cfa 100644 --- a/readme.md +++ b/readme.md @@ -3,12 +3,12 @@ The go-dandelion project aims to provide developers with a project framework that integrates various components, making it easy to build projects and improve development efficiency. It eliminates the need to spend time on integrating different components, allowing developers to focus on business development. -[![Go](https://github.com/gly-hub/go-dandelion/workflows/Go/badge.svg?branch=main)](https://github.com/gly-hub/go-dandelion/actions) -[![Go Report Card](https://goreportcard.com/badge/github.com/gly-hub/go-dandelion)](https://goreportcard.com/report/github.com/gly-hub/go-dandelion) +[![Go](https://github.com/team-dandelion/go-dandelion/workflows/Go/badge.svg?branch=main)](https://github.com/team-dandelion/go-dandelion/actions) +[![Go Report Card](https://goreportcard.com/badge/github.com/team-dandelion/go-dandelion)](https://goreportcard.com/report/github.com/team-dandelion/go-dandelion) [![codecov](https://codecov.io/gh/gly-hub/go-dandelion/branch/main/graph/badge.svg)](https://codecov.io/gh/gly-hub/go-dandelion) [![MIT license](https://img.shields.io/badge/License-Apache2.0-brightgreen.svg)](https://opensource.org/licenses/apache-2-0/) -[![Release](https://img.shields.io/badge/release-1.2.0-white.svg)](https://pkg.go.dev/github.com/gly-hub/go-dandelion/go-dandelion-cli?tab=doc) -[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/github.com/gly-hub/go-dandelion/go-dandelion-cli?tab=doc) +[![Release](https://img.shields.io/badge/release-1.2.0-white.svg)](https://pkg.go.dev/github.com/team-dandelion/go-dandelion/go-dandelion-cli?tab=doc) +[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/github.com/team-dandelion/go-dandelion/go-dandelion-cli?tab=doc) [![Security Status](https://www.murphysec.com/platform3/v31/badge/1666706410635550720.svg)](https://www.murphysec.com/console/report/1666706410597801984/1666706410635550720) @@ -34,8 +34,8 @@ The go-dandelion project aims to provide developers with a project framework tha ## 1. Installation ``` -go get github.com/gly-hub/go-dandelion/go-dandelion-cli@latest -go install github.com/gly-hub/go-dandelion/go-dandelion-cli@latest +go get github.com/team-dandelion/go-dandelion/go-dandelion-cli@latest +go install github.com/team-dandelion/go-dandelion/go-dandelion-cli@latest ``` ## 2. Create a Project @@ -66,7 +66,7 @@ go build -o example-server ## 🔥Contributors - + diff --git a/server/http/middleware/middleware.go b/server/http/middleware/middleware.go index 871ea34..0dfbce3 100644 --- a/server/http/middleware/middleware.go +++ b/server/http/middleware/middleware.go @@ -6,11 +6,11 @@ import ( "github.com/alibaba/sentinel-golang/core/base" "github.com/alibaba/sentinel-golang/core/system" routing "github.com/gly-hub/fasthttp-routing" - "github.com/gly-hub/go-dandelion/logger" - "github.com/gly-hub/go-dandelion/telemetry" jsoniter "github.com/json-iterator/go" "github.com/opentracing/opentracing-go" "github.com/rs/xid" + "github.com/team-dandelion/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/telemetry" "net/http" "regexp" "runtime" diff --git a/server/http/server.go b/server/http/server.go index 7e43a39..ef4f918 100644 --- a/server/http/server.go +++ b/server/http/server.go @@ -3,7 +3,7 @@ package http import ( "fmt" routing "github.com/gly-hub/fasthttp-routing" - "github.com/gly-hub/go-dandelion/server/http/middleware" + "github.com/team-dandelion/go-dandelion/server/http/middleware" "github.com/valyala/fasthttp" ) diff --git a/server/http/tools.go b/server/http/tools.go index 6bc5601..cfa2741 100644 --- a/server/http/tools.go +++ b/server/http/tools.go @@ -3,9 +3,9 @@ package http import ( "encoding/json" routing "github.com/gly-hub/fasthttp-routing" - error_support "github.com/gly-hub/go-dandelion/error-support" - "github.com/gly-hub/go-dandelion/logger" jsoniter "github.com/json-iterator/go" + error_support "github.com/team-dandelion/go-dandelion/error-support" + "github.com/team-dandelion/go-dandelion/logger" ) type HttpController struct { diff --git a/server/rpcx/middleware.go b/server/rpcx/middleware.go index b8beb2a..dce6e4b 100644 --- a/server/rpcx/middleware.go +++ b/server/rpcx/middleware.go @@ -2,11 +2,11 @@ package rpcx import ( "context" - "github.com/gly-hub/go-dandelion/logger" - "github.com/gly-hub/go-dandelion/telemetry" "github.com/opentracing/opentracing-go" "github.com/petermattis/goid" "github.com/smallnest/rpcx/protocol" + "github.com/team-dandelion/go-dandelion/logger" + "github.com/team-dandelion/go-dandelion/telemetry" "sync" "time" )