From c816d834449eccaa02ec6114407f05aafc662ebf Mon Sep 17 00:00:00 2001 From: jsyzchen Date: Tue, 27 Jul 2021 10:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=92=E4=BC=A0=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=9A=84request=5Fid=E6=98=AF=E7=A7=91=E5=AD=A6?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E6=B3=95=E6=95=B0=E5=AD=97=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +------- conf/conf.go | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index f56d7ea..16a3129 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,8 @@ 该代码库为百度网盘开放平台Go语言的SDK,详细请参考官方技术文档 ## 下载 -### 使用Go mod -在您的项目中的`go.mod`文件内添加这行代码 ```bash -require github.com/jsyzchen/pan v0.0.7 +go get -u github.com/jsyzchen/pan ``` 并在项目中引入`github.com/jsyzchen/pan` ```go @@ -14,10 +12,6 @@ import ( "github.com/jsyzchen/pan/file" ) ``` -### 不使用 Go mod -```bash -go get -u github.com/jsyzchen/pan/file -``` ## 使用示例 [参考代码](https://github.com/jsyzchen/pan/tree/main/examples) diff --git a/conf/conf.go b/conf/conf.go index fcadce0..7dc3851 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -26,8 +26,6 @@ type TestDataConfig struct { TranscodingType string } -const Version = "0.0.7" - const ( BaiduOpenApiDomain = "https://openapi.baidu.com" OpenApiDomain = "https://pan.baidu.com"