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"