Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-Morgan committed Oct 15, 2024
1 parent 5bfe831 commit fdd5916
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion example/prom/promWithkitex/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ package main

import (
"context"
"exampleprom/promWithkitex/kitex_gen/api/echo"
"math/rand"
"os"
"strconv"
"time"

"exampleprom/promWithkitex/kitex_gen/api/echo"

"exampleprom/promWithkitex/kitex_gen/api"

"github.com/cloudwego-contrib/cwgo-pkg/telemetry/instrumentation/otelkitex"
Expand Down
3 changes: 2 additions & 1 deletion example/prom/promWithkitex/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ package main
import (
"context"
"errors"
"exampleprom/promWithkitex/kitex_gen/api/echo"
"net"
"time"

"exampleprom/promWithkitex/kitex_gen/api/echo"

"exampleprom/promWithkitex/kitex_gen/api"

"github.com/cloudwego-contrib/cwgo-pkg/telemetry/instrumentation/otelkitex"
Expand Down
2 changes: 2 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ use (
config/nacos
config/zookeeper
config/nacos/v2
registry/nacos/nacoskitex/v2
registry/nacos/nacoshertz/v2

)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
package registry

import (
"github.com/cloudwego-contrib/cwgo-pkg/registry/servicecomb/options"
"net"
"testing"
"time"

"github.com/cloudwego-contrib/cwgo-pkg/registry/servicecomb/options"

"github.com/go-chassis/sc-client"

"github.com/cloudwego/kitex/pkg/registry"
Expand Down

0 comments on commit fdd5916

Please sign in to comment.