Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatGptClient ¶
ChatGptClient chatgpt搜题客户
func (*ChatGptClient) SearchAnswer ¶
func (in *ChatGptClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 暂时未实现
type Client ¶
type Client struct { Wanneng *WannengClient Enncy *EnncyClient Icodef *IcodefClient }
Client -
type DB ¶
type DB struct{}
DB mysql 或者sqlite3
func (*DB) SearchAnswer ¶
func (in *DB) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type EnncyClient ¶
EnncyClient enncy题库
func (*EnncyClient) SearchAnswer ¶
func (in *EnncyClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type IcodefClient ¶
IcodefClient icodef题库
func (*IcodefClient) SearchAnswer ¶
func (in *IcodefClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
type Search ¶
type Search interface { SearchAnswer(req model.SearchRequest) (answer [][]string, err error) // contains filtered or unexported methods }
Search 搜题接口
type WannengClient ¶
WannengClient icodef题库
func (*WannengClient) SearchAnswer ¶
func (in *WannengClient) SearchAnswer(req model.SearchRequest) (answer [][]string, err error)
SearchAnswer 搜索答案
Click to show internal directories.
Click to hide internal directories.