Skip to content

Commit

Permalink
fix: fix the module's path and fix the import path in example and REA…
Browse files Browse the repository at this point in the history
…DME (#82)
  • Loading branch information
MulL1on authored Apr 23, 2023
1 parent ccd7972 commit f6ea4f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions eureka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/cloudwego/hertz/pkg/app/server/registry"
"github.com/cloudwego/hertz/pkg/common/utils"
"github.com/cloudwego/hertz/pkg/protocol/consts"
"github.com/hertz-contrib/eureka"
"github.com/hertz-contrib/registry/eureka"
)

func main() {
Expand Down Expand Up @@ -56,7 +56,7 @@ import (
"github.com/cloudwego/hertz/pkg/app/middlewares/client/sd"
"github.com/cloudwego/hertz/pkg/common/config"
"github.com/cloudwego/hertz/pkg/common/hlog"
"github.com/hertz-contrib/eureka"
"github.com/hertz-contrib/registry/eureka"
)

func main() {
Expand Down Expand Up @@ -154,7 +154,7 @@ import (
"github.com/cloudwego/hertz/pkg/app/server/registry"
"github.com/cloudwego/hertz/pkg/common/utils"
"github.com/cloudwego/hertz/pkg/protocol/consts"
"github.com/hertz-contrib/eureka"
"github.com/hertz-contrib/registry/eureka"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion eureka/example/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/cloudwego/hertz/pkg/app/middlewares/client/sd"
"github.com/cloudwego/hertz/pkg/common/config"
"github.com/cloudwego/hertz/pkg/common/hlog"
"github.com/hertz-contrib/eureka"
"github.com/hertz-contrib/registry/eureka"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion eureka/example/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/cloudwego/hertz/pkg/app/server/registry"
"github.com/cloudwego/hertz/pkg/common/utils"
"github.com/cloudwego/hertz/pkg/protocol/consts"
"github.com/hertz-contrib/eureka"
"github.com/hertz-contrib/registry/eureka"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion eureka/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/hertz-contrib/eureka
module github.com/hertz-contrib/registry/eureka

go 1.16

Expand Down

0 comments on commit f6ea4f8

Please sign in to comment.