From 9fe55eb9a672ee661a8345338efa6d7b7d4a5ea4 Mon Sep 17 00:00:00 2001 From: Rong Zhou Date: Tue, 7 Nov 2023 09:07:39 +0000 Subject: [PATCH 1/2] rename repo to qiniu/go-cdk-driver --- .github/workflows/ci-test.yml | 2 +- README.md | 35 +++++++++++++++++++++++------------ go.mod | 2 +- kodoblob/kodoblob_test.go | 2 +- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index fb16a70..9af99ae 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -29,6 +29,6 @@ jobs: staticcheck -go 1.20 ./... - name: Run Tests run: | - bash -e + set -e go test -v ./... shell: bash diff --git a/README.md b/README.md index cda366d..a0c3597 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,17 @@ -# Qiniu gocloud.dev blob driver +# Qiniu Go Cloud Development Kit (Go CDK) Driver -七牛 kodoblob 为 [gocloud.dev](https://gocloud.dev/) 提供了驱动,可以通过使用 [blob](https://gocloud.dev/blob) 包对七牛 Bucket 中的 Blob 进行读写,列举或删除。 +=============== + +[![LICENSE](https://img.shields.io/github/license/qiniu/go-cdk-driver.svg)](https://github.com/qiniu/go-cdk-driver/blob/main/LICENSE) +[![Build Status](https://github.com/qiniu/go-cdk-driver/workflows/tests/badge.svg)](https://github.com/qiniu/go-cdk-driver/actions) +[![Go Report Card](https://goreportcard.com/badge/github.com/qiniu/go-cdk-driver)](https://goreportcard.com/report/github.com/qiniu/go-cdk-driver) +[![GitHub release](https://img.shields.io/github/v/tag/qiniu/go-cdk-driver.svg?label=release)](https://github.com/qiniu/go-cdk-driver/releases) +[![codecov](https://codecov.io/gh/qiniu/go-cdk-driver/branch/main/graph/badge.svg)](https://codecov.io/gh/qiniu/go-cdk-driver) +[![GoDoc](https://godoc.org/github.com/qiniu/go-cdk-driver/kodoblob?status.svg)](https://godoc.org/github.com/qiniu/go-cdk-driver/kodoblob) + +[![Qiniu Logo](http://open.qiniudn.com/logo.png)](http://qiniu.com/) + +Qiniu Go CDK Driver 为 [gocloud.dev](https://gocloud.dev/) 提供了 kodoblob 驱动,可以通过使用 [blob](https://gocloud.dev/blob) 包对七牛 Bucket 中的 Blob 进行读写,列举或删除。 ## 代码案例 @@ -14,7 +25,7 @@ import ( "fmt" "os" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) @@ -60,7 +71,7 @@ import ( "fmt" "os" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) @@ -94,7 +105,7 @@ import ( "fmt" "os" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) @@ -129,7 +140,7 @@ import ( "fmt" "os" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) @@ -162,7 +173,7 @@ import ( "fmt" "os" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) @@ -183,18 +194,18 @@ func main() { ## 贡献记录 -- [所有贡献者](https://github.com/bachue/go-cloud-dev-qiniu-driver/contributors) +- [所有贡献者](https://github.com/qiniu/go-cdk-driver/contributors) ## 联系我们 - 如果需要帮助,请提交工单(在portal右侧点击咨询和建议提交工单,或者直接向 support@qiniu.com 发送邮件) - 如果有什么问题,可以到问答社区提问,[问答社区](http://qiniu.segmentfault.com/) - 更详细的文档,见[官方文档站](http://developer.qiniu.com/) -- 如果发现了bug, 欢迎提交 [issue](https://github.com/bachue/go-cloud-dev-qiniu-driver/issues) -- 如果有功能需求,欢迎提交 [issue](https://github.com/bachue/go-cloud-dev-qiniu-driver/issues) -- 如果要提交代码,欢迎提交 [pull request](https://github.com/bachue/go-cloud-dev-qiniu-driver/pulls) +- 如果发现了bug, 欢迎提交 [issue](https://github.com/qiniu/go-cdk-driver/issues) +- 如果有功能需求,欢迎提交 [issue](https://github.com/qiniu/go-cdk-driver/issues) +- 如果要提交代码,欢迎提交 [pull request](https://github.com/qiniu/go-cdk-driver/pulls) - 欢迎关注我们的[微信](http://www.qiniu.com/#weixin) [微博](http://weibo.com/qiniutek),及时获取动态信息。 ## 代码许可 -The Apache License v2.0. 详情见 [License 文件](https://github.com/bachue/go-cloud-dev-qiniu-driver/blob/master/LICENSE). +The Apache License v2.0. 详情见 [License 文件](https://github.com/qiniu/go-cdk-driver/blob/main/LICENSE). diff --git a/go.mod b/go.mod index 1071e68..a5a7e01 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/bachue/go-cloud-dev-qiniu-driver +module github.com/qiniu/go-cdk-driver go 1.21 diff --git a/kodoblob/kodoblob_test.go b/kodoblob/kodoblob_test.go index b9eb934..d183cd6 100644 --- a/kodoblob/kodoblob_test.go +++ b/kodoblob/kodoblob_test.go @@ -20,7 +20,7 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - _ "github.com/bachue/go-cloud-dev-qiniu-driver/kodoblob" + _ "github.com/qiniu/go-cdk-driver/kodoblob" "gocloud.dev/blob" ) From cc735752756b79931fe4c9a74420d2fa355c23b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:16:43 +0000 Subject: [PATCH 2/2] Bump google.golang.org/grpc from 1.57.0 to 1.57.1 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a5a7e01..4cc0340 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.134.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230731193218-e0aa005b6bdf // indirect - google.golang.org/grpc v1.57.0 // indirect + google.golang.org/grpc v1.57.1 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 3b42bba..cb9822e 100644 --- a/go.sum +++ b/go.sum @@ -245,8 +245,8 @@ google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyac google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= -google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= +google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=