Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conversation ¶
type ConversationData ¶
type GetConversationCommand ¶
type GetConversationCommand struct {
*cmds.CommandDescription
}
func NewGetConversationCommand ¶
func NewGetConversationCommand() (*GetConversationCommand, error)
func (*GetConversationCommand) RunIntoWriter ¶
func (cmd *GetConversationCommand) RunIntoWriter( ctx context.Context, parsedLayers map[string]*layers.ParsedParameterLayer, ps map[string]interface{}, w io.Writer, ) error
type NextData ¶
type NextData struct { Props struct { PageProps struct { SharedConversationId string `json:"sharedConversationId"` ServerResponse struct { ServerResponseData `json:"data"` } `json:"serverResponse"` Model map[string]interface{} `json:"model"` ModerationState map[string]interface{} `json:"moderation_state"` } `json:"pageProps"` } `json:"props"` }
type Renderer ¶
func (*Renderer) PrintConversation ¶
func (r *Renderer) PrintConversation(url string, response ServerResponseData, linearConversation []Conversation)
type ServerResponseData ¶
type ServerResponseData struct { Title string `json:"title"` CreateTime float64 `json:"create_time"` UpdateTime float64 `json:"update_time"` LinearConversation []Conversation `json:"linear_conversation"` }
type TemplateData ¶
Click to show internal directories.
Click to hide internal directories.