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

Function analyticsDataService

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

Source from the content-addressed store, hash-verified

182}
183
184func analyticsDataService(ctx context.Context, account string) (*analyticsdata.Service, error) {
185 runtime, err := runtimeWithService(ctx, "analytics data")
186 if err != nil || runtime.Services.AnalyticsData == nil {
187 return nil, serviceError(err, "analytics data")
188 }
189 return runtime.Services.AnalyticsData(ctx, account)
190}
191
192func calendarService(ctx context.Context, account string) (*calendar.Service, error) {
193 runtime, err := runtimeWithService(ctx, "calendar")

Callers 2

RunMethod · 0.85

Calls 3

runtimeWithServiceFunction · 0.85
serviceErrorFunction · 0.85
AnalyticsDataMethod · 0.80