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

Function calendarService

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

Source from the content-addressed store, hash-verified

190}
191
192func calendarService(ctx context.Context, account string) (*calendar.Service, error) {
193 runtime, err := runtimeWithService(ctx, "calendar")
194 if err != nil || runtime.Services.Calendar == nil {
195 return nil, serviceError(err, "calendar")
196 }
197 return runtime.Services.Calendar(ctx, account)
198}
199
200func chatService(ctx context.Context, account string) (*chat.Service, error) {
201 runtime, err := runtimeWithService(ctx, "chat")

Callers 13

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
CalendarMethod · 0.80

Tested by

no test coverage detected