From 80eac2bdafef2bfe1498d9c718e130e56d9b12ef Mon Sep 17 00:00:00 2001 From: Shantanu Date: Mon, 13 May 2024 15:58:49 -0700 Subject: [PATCH] client: rm Answer type --- client/client.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client/client.go b/client/client.go index 1b8b88f..92f96fb 100644 --- a/client/client.go +++ b/client/client.go @@ -238,15 +238,6 @@ type QuestionInfo struct { Tags map[string]string `json:"tags,omitempty"` } -type Answer struct { - Commands []*CommandExplanation `json:"commands"` -} - -type CommandExplanation struct { - Command string `json:"command"` - Explanation string `json:"explanation"` -} - func (c *client) Ask(ctx context.Context, question QuestionInfo) (*Runbook, error) { return ask(ctx, c.cl, c.apiURL("/api/v1/public/ask"), question) }