Skip to content

Commit

Permalink
修复秒传返回的request_id是科学计数法数字的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyzchen committed Jul 27, 2021
1 parent 7cac826 commit c816d83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
该代码库为百度网盘开放平台Go语言的SDK,详细请参考官方技术文档<https://pan.baidu.com/union/document/entrance>

## 下载
### 使用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
Expand All @@ -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)
2 changes: 0 additions & 2 deletions conf/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c816d83

Please sign in to comment.