(ctx context.Context, account string)
| 198 | } |
| 199 | |
| 200 | func chatService(ctx context.Context, account string) (*chat.Service, error) { |
| 201 | runtime, err := runtimeWithService(ctx, "chat") |
| 202 | if err != nil || runtime.Services.Chat == nil { |
| 203 | return nil, serviceError(err, "chat") |
| 204 | } |
| 205 | return runtime.Services.Chat(ctx, account) |
| 206 | } |
| 207 | |
| 208 | func classroomService(ctx context.Context, account string) (*classroom.Service, error) { |
| 209 | runtime, err := runtimeWithService(ctx, "classroom") |