MCPcopy Create free account
hub / github.com/openclaw/gogcli / driveService

Function driveService

internal/cmd/runtime_services.go:264–270  ·  view source on GitHub ↗
(ctx context.Context, account string)

Source from the content-addressed store, hash-verified

262}
263
264func driveService(ctx context.Context, account string) (*drive.Service, error) {
265 runtime, err := runtimeWithService(ctx, "drive")
266 if err != nil || runtime.Services.Drive == nil {
267 return nil, serviceError(err, "drive")
268 }
269 return runtime.Services.Drive(ctx, account)
270}
271
272func driveActivityService(ctx context.Context, account string) (*driveactivityapi.Service, error) {
273 runtime, err := runtimeWithService(ctx, "drive activity")

Callers 15

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85

Calls 3

runtimeWithServiceFunction · 0.85
serviceErrorFunction · 0.85
DriveMethod · 0.80