Skip to content

Commit 8b74f70

Browse files
author
Jon Bernard
committed
fix go tests
1 parent 30d0144 commit 8b74f70

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

ldk/go/ldk-test/whisperService.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ import (
77
)
88

99
type WhisperService struct {
10-
Confirmf func(context.Context, *ldk.WhisperContentConfirm) (bool, error)
11-
Formf func(context.Context, *ldk.WhisperContentForm) (bool, map[string]ldk.WhisperContentFormOutput, error)
12-
Listf func(context.Context, *ldk.WhisperContentList) error
13-
Markdownf func(context.Context, *ldk.WhisperContentMarkdown) error
10+
Confirmf func(context.Context, *ldk.WhisperContentConfirm) (bool, error)
11+
Disambiguationf func(context.Context, *ldk.WhisperContentDisambiguation) (bool, error)
12+
Formf func(context.Context, *ldk.WhisperContentForm) (bool, map[string]ldk.WhisperContentFormOutput, error)
13+
Listf func(context.Context, *ldk.WhisperContentList) error
14+
Markdownf func(context.Context, *ldk.WhisperContentMarkdown) error
1415
}
1516

1617
func (w *WhisperService) Confirm(ctx context.Context, content *ldk.WhisperContentConfirm) (bool, error) {
1718
return w.Confirmf(ctx, content)
1819
}
1920

21+
func (w *WhisperService) Disambiguation(ctx context.Context, content *ldk.WhisperContentDisambiguation) (bool, error) {
22+
return w.Disambiguationf(ctx, content)
23+
}
24+
2025
func (w *WhisperService) Form(ctx context.Context, content *ldk.WhisperContentForm) (bool, map[string]ldk.WhisperContentFormOutput, error) {
2126
return w.Formf(ctx, content)
2227
}

0 commit comments

Comments
 (0)