This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git
The following commit(s) were added to refs/heads/main by this push:
new 7b29298 Update tools name and missing `go.sum` (#7)
7b29298 is described below
commit 7b292984eb809be8be06164c16660731561dfad0
Author: mrproliu <[email protected]>
AuthorDate: Fri Apr 14 10:44:35 2023 +0800
Update tools name and missing `go.sum` (#7)
---
Makefile | 2 +-
tools/go-agent-enhance/go.sum => go.sum | 19 -------------------
tools/{go-agent-enhance => go-agent}/Makefile | 2 +-
tools/{go-agent-enhance => go-agent}/cmd/helper.go | 0
tools/{go-agent-enhance => go-agent}/cmd/main.go | 0
tools/{go-agent-enhance => go-agent}/go.mod | 0
tools/{go-agent-enhance => go-agent}/go.sum | 0
.../instrument/agentcore/instrument.go | 0
.../instrument/api/flags.go | 0
.../instrument/api/instrument.go | 0
.../instrument/instrument.go | 0
.../instrument/runtime/instrument.go | 0
tools/{go-agent-enhance => go-agent}/tools/dst.go | 0
.../tools/enhancement.go | 0
tools/{go-agent-enhance => go-agent}/tools/files.go | 0
tools/{go-agent-enhance => go-agent}/tools/flags.go | 0
tools/{go-agent-enhance => go-agent}/tools/logger.go | 0
.../{go-agent-enhance => go-agent}/tools/templetes.go | 0
18 files changed, 2 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
index 5339dff..4494050 100644
--- a/Makefile
+++ b/Makefile
@@ -77,4 +77,4 @@ check:
.PHONY: build
build:
- @make -C tools/go-agent-enhance build
\ No newline at end of file
+ @make -C tools/go-agent build
\ No newline at end of file
diff --git a/tools/go-agent-enhance/go.sum b/go.sum
similarity index 91%
copy from tools/go-agent-enhance/go.sum
copy to go.sum
index 451cfeb..45c8fb0 100644
--- a/tools/go-agent-enhance/go.sum
+++ b/go.sum
@@ -9,12 +9,7 @@ github.com/client9/misspell v0.3.4/go.mod
h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod
h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod
h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod
h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/dave/dst v0.27.2 h1:4Y5VFTkhGLC1oddtNwuxxe36pnyLxMFXT51FOzH8Ekc=
-github.com/dave/dst v0.27.2/go.mod
h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc=
-github.com/dave/jennifer v1.5.0 h1:HmgPN93bVDpkQyYbqhCHj5QlgvUkvEOzMyEvKLgCRrg=
github.com/davecgh/go-spew v1.1.0/go.mod
h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1
h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
-github.com/davecgh/go-spew v1.1.1/go.mod
h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod
h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane
v0.9.1-0.20191026205805-5f8ba28d4473/go.mod
h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod
h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
@@ -53,18 +48,12 @@ github.com/google/uuid v1.3.0/go.mod
h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod
h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod
h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pmezard/go-difflib v1.0.0
h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod
h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod
h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/rogpeppe/fastuuid v1.2.0/go.mod
h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
-github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
-github.com/sirupsen/logrus v1.9.0
h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
-github.com/sirupsen/logrus v1.9.0/go.mod
h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod
h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/stretchr/objx v0.1.0/go.mod
h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1/go.mod
h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
-github.com/stretchr/testify v1.7.0/go.mod
h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.8.2
h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/yuin/goldmark v1.3.5/go.mod
h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod
h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.opentelemetry.io/proto/otlp v0.7.0/go.mod
h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
@@ -80,8 +69,6 @@ golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod
h1:3xt1FjdF8hUf6vQPI
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod
h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod
h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
-golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
-golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -104,7 +91,6 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod
h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod
h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -114,7 +100,6 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod
h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
@@ -138,8 +123,6 @@ golang.org/x/tools
v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod
h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.1.3/go.mod
h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.12/go.mod
h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
-golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=
-golang.org/x/tools v0.6.0/go.mod
h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod
h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod
h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod
h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -179,8 +162,6 @@ google.golang.org/protobuf v1.29.0/go.mod
h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod
h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod
h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
skywalking.apache.org/repo/goapi v0.0.0-20230314034821-0c5a44bb767a
h1:m8DTnaSEOEnPXRWmA6g7isbdqw7WPZP6SnaEHz1Sx7s=
diff --git a/tools/go-agent-enhance/Makefile b/tools/go-agent/Makefile
similarity index 97%
rename from tools/go-agent-enhance/Makefile
rename to tools/go-agent/Makefile
index 6c70da7..20b8a33 100644
--- a/tools/go-agent-enhance/Makefile
+++ b/tools/go-agent/Makefile
@@ -18,7 +18,7 @@
REPODIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))/../../
OUT_DIR = $(REPODIR)/bin
-BINARY = skywalking-go-agent-enhance
+BINARY = skywalking-go-agent
SH = sh
GO = go
diff --git a/tools/go-agent-enhance/cmd/helper.go b/tools/go-agent/cmd/helper.go
similarity index 100%
rename from tools/go-agent-enhance/cmd/helper.go
rename to tools/go-agent/cmd/helper.go
diff --git a/tools/go-agent-enhance/cmd/main.go b/tools/go-agent/cmd/main.go
similarity index 100%
rename from tools/go-agent-enhance/cmd/main.go
rename to tools/go-agent/cmd/main.go
diff --git a/tools/go-agent-enhance/go.mod b/tools/go-agent/go.mod
similarity index 100%
rename from tools/go-agent-enhance/go.mod
rename to tools/go-agent/go.mod
diff --git a/tools/go-agent-enhance/go.sum b/tools/go-agent/go.sum
similarity index 100%
rename from tools/go-agent-enhance/go.sum
rename to tools/go-agent/go.sum
diff --git a/tools/go-agent-enhance/instrument/agentcore/instrument.go
b/tools/go-agent/instrument/agentcore/instrument.go
similarity index 100%
rename from tools/go-agent-enhance/instrument/agentcore/instrument.go
rename to tools/go-agent/instrument/agentcore/instrument.go
diff --git a/tools/go-agent-enhance/instrument/api/flags.go
b/tools/go-agent/instrument/api/flags.go
similarity index 100%
rename from tools/go-agent-enhance/instrument/api/flags.go
rename to tools/go-agent/instrument/api/flags.go
diff --git a/tools/go-agent-enhance/instrument/api/instrument.go
b/tools/go-agent/instrument/api/instrument.go
similarity index 100%
rename from tools/go-agent-enhance/instrument/api/instrument.go
rename to tools/go-agent/instrument/api/instrument.go
diff --git a/tools/go-agent-enhance/instrument/instrument.go
b/tools/go-agent/instrument/instrument.go
similarity index 100%
rename from tools/go-agent-enhance/instrument/instrument.go
rename to tools/go-agent/instrument/instrument.go
diff --git a/tools/go-agent-enhance/instrument/runtime/instrument.go
b/tools/go-agent/instrument/runtime/instrument.go
similarity index 100%
rename from tools/go-agent-enhance/instrument/runtime/instrument.go
rename to tools/go-agent/instrument/runtime/instrument.go
diff --git a/tools/go-agent-enhance/tools/dst.go b/tools/go-agent/tools/dst.go
similarity index 100%
rename from tools/go-agent-enhance/tools/dst.go
rename to tools/go-agent/tools/dst.go
diff --git a/tools/go-agent-enhance/tools/enhancement.go
b/tools/go-agent/tools/enhancement.go
similarity index 100%
rename from tools/go-agent-enhance/tools/enhancement.go
rename to tools/go-agent/tools/enhancement.go
diff --git a/tools/go-agent-enhance/tools/files.go
b/tools/go-agent/tools/files.go
similarity index 100%
rename from tools/go-agent-enhance/tools/files.go
rename to tools/go-agent/tools/files.go
diff --git a/tools/go-agent-enhance/tools/flags.go
b/tools/go-agent/tools/flags.go
similarity index 100%
rename from tools/go-agent-enhance/tools/flags.go
rename to tools/go-agent/tools/flags.go
diff --git a/tools/go-agent-enhance/tools/logger.go
b/tools/go-agent/tools/logger.go
similarity index 100%
rename from tools/go-agent-enhance/tools/logger.go
rename to tools/go-agent/tools/logger.go
diff --git a/tools/go-agent-enhance/tools/templetes.go
b/tools/go-agent/tools/templetes.go
similarity index 100%
rename from tools/go-agent-enhance/tools/templetes.go
rename to tools/go-agent/tools/templetes.go