feat(google_drive): support sa (close #3132 in #4360)

Co-authored-by: Andy Hsu <i@nn.ci>
This commit is contained in:
william
2023-05-12 07:47:50 +01:00
committed by GitHub
parent daad61443c
commit c19166be1c
2 changed files with 116 additions and 1 deletions

View File

@ -17,7 +17,9 @@ import (
type GoogleDrive struct {
model.Storage
Addition
AccessToken string
AccessToken string
ServiceAccountFile int
ServiceAccountFileList []string
}
func (d *GoogleDrive) Config() driver.Config {