forked from chyroc/go-aliyundrive
-
Notifications
You must be signed in to change notification settings - Fork 4
/
batch.go
32 lines (31 loc) · 803 Bytes
/
batch.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package aliyundrive
//type T struct {
// Requests []struct {
// Body struct {
// AsyncTaskId string `json:"async_task_id"`
// } `json:"body"`
// Headers struct {
// ContentType string `json:"Content-Type"`
// } `json:"headers"`
// Id string `json:"id"`
// Method string `json:"method"`
// Url string `json:"url"`
// } `json:"requests"`
// Resource string `json:"resource"`
//}
//
//type T2 struct {
// Requests []struct {
// Body struct {
// DriveId string `json:"drive_id"`
// FileId string `json:"file_id"`
// } `json:"body"`
// Headers struct {
// ContentType string `json:"Content-Type"`
// } `json:"headers"`
// Id string `json:"id"`
// Method string `json:"method"`
// Url string `json:"url"`
// } `json:"requests"`
// Resource string `json:"resource"`
//}