Files

14 lines
212 B
Go
Raw Normal View History

2021-10-18 11:57:12 +08:00
package es
2021-12-09 16:17:23 +08:00
func Create() error {
//_, err := client.Index().
2021-12-22 14:11:14 +08:00
// Index("students").
// BodyJson(string(dataJSON)).
// Do(context.Background())
2021-12-09 16:17:23 +08:00
return nil
}
func Search() {
//resp, err := client.Search()
2021-10-18 11:57:12 +08:00
}