Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseXls ¶
func ParseXls(file *excelize.File, opt XLSXOptions) []model.Question
ParseXls 解析xlsx文件
Types ¶
type Elasticsearch ¶
type Elasticsearch interface { // Search 搜索 Search(index string, query string, from int, size int) (interface{}, error) // Create 创建 Create(index string, id string, data interface{}) error // Update 更新 Update(index string, id string, data interface{}) error // Delete 删除 Delete(index string, id string) error }
Elasticsearch Elasticsearch接口
func NewElasticsearchClient ¶
func NewElasticsearchClient(add []string) (Elasticsearch, error)
NewElasticsearchClient 创建Elasticsearch客户端
Click to show internal directories.
Click to hide internal directories.