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

Function newSlidesServiceFromServer

internal/cmd/slides_insert_text_test.go:66–77  ·  view source on GitHub ↗
(t *testing.T, srv *httptest.Server)

Source from the content-addressed store, hash-verified

64}
65
66func newSlidesServiceFromServer(t *testing.T, srv *httptest.Server) *slides.Service {
67 t.Helper()
68 svc, err := slides.NewService(context.Background(),
69 option.WithoutAuthentication(),
70 option.WithHTTPClient(srv.Client()),
71 option.WithEndpoint(srv.URL+"/"),
72 )
73 if err != nil {
74 t.Fatalf("slides.NewService: %v", err)
75 }
76 return svc
77}
78
79func slidesPresentationWithTableCellText(rowIndex, columnIndex int, content string) *slides.Presentation {
80 rows := make([]*slides.TableRow, rowIndex+1)

Calls

no outgoing calls

Tested by

no test coverage detected