Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add read task for gcs #155

Merged
merged 7 commits into from
Jun 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fix golintci error
  • Loading branch information
chuang8511 committed Jun 17, 2024
commit 1d0084205fd5b52f6b8c428d13095f482b101caa
4 changes: 0 additions & 4 deletions data/googlecloudstorage/v0/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ func NewClient(jsonKey string) (*storage.Client, error) {
return storage.NewClient(context.Background(), option.WithCredentialsJSON([]byte(jsonKey)))
}

func getBucketName(setup *structpb.Struct) string {
return setup.GetFields()["bucket-name"].GetStringValue()
}

func getJSONKey(setup *structpb.Struct) string {
return setup.GetFields()["json-key"].GetStringValue()
}
Expand Down