Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

upgrade go2sky version to 1.3.0 and update ci settings #39

Merged
merged 4 commits into from
Nov 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 27 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,49 @@ jobs:
fail-fast: true
matrix:
case:
- { name: 'Gear', plugin_dir: 'gear', go_version: '1.12'}
- { name: 'Gin v2', plugin_dir: 'gin/v2', go_version: '1.12'}
- { name: 'Gin v3', plugin_dir: 'gin/v3', go_version: '1.12'}
- { name: 'Go micro', plugin_dir: 'micro', go_version: '1.14'}
- { name: 'Go resty', plugin_dir: 'resty', go_version: '1.12'}
- { name: 'Go restful', plugin_dir: 'go-restful', go_version: '1.13'}
- { name: 'Go logrus', plugin_dir: 'logrus', go_version: '1.12'}
- { name: 'gear', plugin_dir: 'gear', go_version: '1.12' }
- { name: 'gin/v2', plugin_dir: 'gin/v2', go_version: '1.12' }
- { name: 'gin/v3', plugin_dir: 'gin/v3', go_version: '1.12' }
- { name: 'micro', plugin_dir: 'micro', go_version: '1.14' }
- { name: 'resty', plugin_dir: 'resty', go_version: '1.12' }
- { name: 'go-restful', plugin_dir: 'go-restful', go_version: '1.13' }
- { name: 'logrus', plugin_dir: 'logrus', go_version: '1.12' }
- { name: 'dubbo-go', plugin_dir: 'dubbo-go', go_version: '1.14' }
- { name: 'grom', plugin_dir: 'grom', go_version: '1.16' }
- { name: 'kafka-reporter', plugin_dir: 'kafkareporter', go_version: '1.16' }
- { name: 'kratos', plugin_dir: 'plugin_dir', go_version: '1.16' }
- { name: 'sql', plugin_dir: 'sql', go_version: '1.16' }
- { name: 'zap', plugin_dir: 'zap', go_version: '1.12' }
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
plugin:
- '${{matrix.case.plugin_dir}}/**'
- name: Set up Go ${{ matrix.case.go_version }}
if: steps.filter.outputs.plugin == 'true'
uses: actions/setup-go@v2
id: go
with:
go-version: ${{ matrix.case.go_version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
if: steps.filter.outputs.plugin == 'true'
run: make deps PLUGIN_DIR=${{ matrix.case.plugin_dir }}

- name: Lint
if: steps.filter.outputs.plugin == 'true'
run: make lint PLUGIN_DIR=${{ matrix.case.plugin_dir }}

- name: Test
if: steps.filter.outputs.plugin == 'true'
run: make test PLUGIN_DIR=${{ matrix.case.plugin_dir }}

build-expected:
name: Build & Test All
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build]
needs: [ build ]
steps:
- name: Call me by your name
run: echo "Birds of a feather flock together"
Expand Down
8 changes: 4 additions & 4 deletions dubbo-go/dubbo-go.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
// limitations under the License.
//

package dubbo_go
package dubbogo

import (
"context"
"errors"
"sync"
"time"

"github.com/SkyAPM/go2sky"

"dubbo.apache.org/dubbo-go/v3/common/extension"
"dubbo.apache.org/dubbo-go/v3/filter"
"dubbo.apache.org/dubbo-go/v3/protocol"
agentv3 "skywalking.apache.org/repo/goapi/collect/language/agent/v3"

"github.com/SkyAPM/go2sky"
)

// side record the server or client
Expand Down Expand Up @@ -202,7 +202,7 @@ func GetClientTracingFilterSingleton() filter.Filter {
clientFilterOnce.Do(func() {
clientFilter = &tracingFilter{
tracer: defaultTracer,
side: clientSide,
side: clientSide,
}
})
return clientFilter
Expand Down
2 changes: 1 addition & 1 deletion dubbo-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.14

require (
dubbo.apache.org/dubbo-go/v3 v3.0.0-rc2
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
github.com/apache/dubbo-go-hessian2 v1.9.3
github.com/dubbogo/gost v1.11.17
skywalking.apache.org/repo/goapi v0.0.0-20210820070710-e10b78bbf481
Expand Down
4 changes: 2 additions & 2 deletions dubbo-go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ github.com/RoaringBitmap/roaring v0.7.1 h1:HkcLv8q/kwGJnhEWe+vinu+04DGDdQ7nVivMh
github.com/RoaringBitmap/roaring v0.7.1/go.mod h1:jdT9ykXwHFNdJbEtxePexlFYH9LXucApeS0/+/g+p1I=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
Expand Down
16 changes: 8 additions & 8 deletions dubbo-go/test/client/cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/SkyAPM/go2sky/reporter"
hessian "github.com/apache/dubbo-go-hessian2"

dubbo_go "github.com/SkyAPM/go2sky-plugins/dubbo-go"
dubbogo "github.com/SkyAPM/go2sky-plugins/dubbo-go"
"github.com/SkyAPM/go2sky-plugins/dubbo-go/test/client/pkg"
httpplugin "github.com/SkyAPM/go2sky/plugins/http"
)
Expand Down Expand Up @@ -67,22 +67,22 @@ func main() {
log.Fatalf("crate tracer error: %v \n", err)
}

err = dubbo_go.SetClientTracer(tracer)
err = dubbogo.SetClientTracer(tracer)
if err != nil {
log.Fatalf("set tracer error: %v \n", err)
}
dubbo_go.SetClientExtraTags("extra-tags", "client")
dubbo_go.SetClientReportTags("release")
dubbo_go.SetClientReportTags("organization")
dubbogo.SetClientExtraTags("extra-tags", "client")
dubbogo.SetClientReportTags("release")
dubbogo.SetClientReportTags("organization")

route := http.NewServeMux()

route.HandleFunc("/hello", func(writer http.ResponseWriter, req *http.Request) {
user := &pkg.User{}
err := userProvider.GetUser(req.Context(), []interface{}{"A001"}, user)
if err != nil {
err1 := userProvider.GetUser(req.Context(), []interface{}{"A001"}, user)
if err1 != nil {
writer.WriteHeader(http.StatusInternalServerError)
_, _ = writer.Write([]byte(fmt.Sprintf("call service err %v \n", err)))
_, _ = writer.Write([]byte(fmt.Sprintf("call service err %v \n", err1)))
return
}

Expand Down
4 changes: 4 additions & 0 deletions dubbo-go/test/client/pkg/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,25 @@ import (
"time"
)

// User user
type User struct {
ID string
Name string
Age int32
Time time.Time
}

// UserProvider user provider service
type UserProvider struct {
GetUser func(ctx context.Context, req []interface{}, rsp *User) error
}

// Reference rpc service id or reference id
func (u *UserProvider) Reference() string {
return "UserProvider"
}

// JavaClassName got a go struct's Java Class package name which should be a POJO class
func (User) JavaClassName() string {
return "org.apache.dubbo.User"
}
12 changes: 6 additions & 6 deletions dubbo-go/test/server/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"github.com/SkyAPM/go2sky/reporter"
hessian "github.com/apache/dubbo-go-hessian2"

dubbo_go "github.com/SkyAPM/go2sky-plugins/dubbo-go"
dubbogo "github.com/SkyAPM/go2sky-plugins/dubbo-go"
"github.com/SkyAPM/go2sky-plugins/dubbo-go/test/server/pkg"
)

Expand Down Expand Up @@ -65,21 +65,21 @@ func main() {
if err != nil {
log.Fatalf("crate tracer error: %v \n", err)
}
err = dubbo_go.SetServerTracer(tracer)
err = dubbogo.SetServerTracer(tracer)
if err != nil {
log.Fatalf("set tracer error: %v \n", err)
}
dubbo_go.SetServerExtraTags("extra-tags", "server")
dubbo_go.SetServerReportTags("release")
dubbo_go.SetServerReportTags("organization")
dubbogo.SetServerExtraTags("extra-tags", "server")
dubbogo.SetServerReportTags("release")
dubbogo.SetServerReportTags("organization")

initSignal()
}

func initSignal() {
signals := make(chan os.Signal, 1)
// It is not possible to block SIGKILL or syscall.SIGSTOP
signal.Notify(signals, os.Interrupt, os.Kill, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT)
signal.Notify(signals, os.Interrupt, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT)
for {
sig := <-signals
logger.Infof("get signal %s", sig.String())
Expand Down
5 changes: 5 additions & 0 deletions dubbo-go/test/server/pkg/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,32 @@ func init() {
hessian.RegisterPOJO(&User{})
}

// User user
type User struct {
ID string
Name string
Age int32
Time time.Time
}

// UserProvider user provider service
type UserProvider struct {
}

// GetUser get user
func (u *UserProvider) GetUser(ctx context.Context, req []interface{}) (*User, error) {
gxlog.CInfo("req:%#v", req)
rsp := User{"A001", "Alex Stocks", 18, time.Now()}
gxlog.CInfo("rsp:%#v", rsp)
return &rsp, nil
}

// Reference rpc service id or reference id
func (u *UserProvider) Reference() string {
return "UserProvider"
}

// JavaClassName got a go struct's Java Class package name which should be a POJO class
func (u User) JavaClassName() string {
return "org.apache.dubbo.User"
}
2 changes: 1 addition & 1 deletion gear/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/SkyAPM/go2sky-plugins/gear
go 1.12

require (
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
github.com/teambition/gear v1.21.2
skywalking.apache.org/repo/goapi v0.0.0-20210401062122-a049ca15c62d
)
4 changes: 2 additions & 2 deletions gear/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/GitbookIO/mimedb v0.0.0-20180329142916-39fdfdb4def4/go.mod h1:0JA2lIXs/dl3RUgHP5ivwjl3f0g+X2BQz3zWnq8IJa4=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
2 changes: 1 addition & 1 deletion gin/v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/SkyAPM/go2sky-plugins/gin/v2
go 1.12

require (
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/gin-gonic/gin v1.3.0
github.com/json-iterator/go v1.1.10 // indirect
Expand Down
4 changes: 2 additions & 2 deletions gin/v2/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
2 changes: 1 addition & 1 deletion gin/v3/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/SkyAPM/go2sky-plugins/gin/v3
go 1.12

require (
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
github.com/gin-gonic/gin v1.5.0
skywalking.apache.org/repo/goapi v0.0.0-20210401062122-a049ca15c62d
)
4 changes: 2 additions & 2 deletions gin/v3/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
2 changes: 1 addition & 1 deletion go-restful/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/SkyAPM/go2sky-plugins/go-restful
go 1.13

require (
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
github.com/emicklei/go-restful/v3 v3.0.0
github.com/json-iterator/go v1.1.10 // indirect
github.com/stretchr/testify v1.7.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go-restful/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
2 changes: 1 addition & 1 deletion gorm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/SkyAPM/go2sky-plugins/gorm
go 1.16

require (
github.com/SkyAPM/go2sky v1.2.1-0.20211120040242-09e1525ced66
github.com/SkyAPM/go2sky v1.3.0
gorm.io/gorm v1.22.3
skywalking.apache.org/repo/goapi v0.0.0-20211014145040-b215a7f7b270
)
Expand Down
6 changes: 2 additions & 4 deletions gorm/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.2.1-0.20211120040242-09e1525ced66 h1:FZ7WIMvVH4ioZGrVc4uvawPbJj0oY7BsJZg9ZgCQFhQ=
github.com/SkyAPM/go2sky v1.2.1-0.20211120040242-09e1525ced66/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
2 changes: 1 addition & 1 deletion kafkareporter/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
// limitations under the License.
//

// Package sarama is a plugin that can be one kafka reporter as go2sky.Reporter.
// Package kafkareporter is a plugin that can be one kafka reporter as go2sky.Reporter.
package kafkareporter
2 changes: 1 addition & 1 deletion kafkareporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.16

require (
github.com/Shopify/sarama v1.29.1
github.com/SkyAPM/go2sky v1.2.0
github.com/SkyAPM/go2sky v1.3.0
google.golang.org/protobuf v1.27.1
skywalking.apache.org/repo/goapi v0.0.0-20210820070710-e10b78bbf481
)
4 changes: 2 additions & 2 deletions kafkareporter/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ github.com/Shopify/sarama v1.29.1 h1:wBAacXbYVLmWieEA/0X/JagDdCZ8NVFOfS6l6+2u5S0
github.com/Shopify/sarama v1.29.1/go.mod h1:mdtqvCSg8JOxk8PmpTNGyo6wzd4BMm4QXSfDnTXmgkE=
github.com/Shopify/toxiproxy v2.1.4+incompatible h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/SkyAPM/go2sky v1.2.0 h1:DTkNf16MVZ/IHC6Bj9kFIoPKodgyXTPLHYca8qMgKbw=
github.com/SkyAPM/go2sky v1.2.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/SkyAPM/go2sky v1.3.0 h1:2Ka5RmTxV7Osm/sVIy3V/AO06etLF/dJsNN4HmR8kok=
github.com/SkyAPM/go2sky v1.3.0/go.mod h1:LzuySkt/TsQL8FMANZu4BX/6Rn0UfGu5KS/r9TwG/dc=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
Expand Down
Loading