阿里云盘 Go SDK
go get github.com/chyroc/go-aliyundrive
ins := aliyundrive.New()
// 下面所有提到的 ins 都是指这个实例
user, err := ins.Auth.LoginByQrcode(context.TODO())
resp, err := ins.File.GetFileList(context.TODO(), &aliyundrive.GetFileListReq{
DriveID: driveID,
ParentFileID: parentID,
Marker: next,
})
sharedInfo, err := ins.ShareLink.GetShareByAnonymous(ctx, &aliyundrive.GetShareByAnonymousReq{
ShareID: shareID,
})