14 lines
216 B
Go
14 lines
216 B
Go
|
package esquery
|
||
|
|
||
|
type CustomQry struct {
|
||
|
m map[string]interface{}
|
||
|
}
|
||
|
|
||
|
func CustomQuery(m map[string]interface{}) *CustomQry {
|
||
|
return &CustomQry{m}
|
||
|
}
|
||
|
|
||
|
func (q *CustomQry) Map() map[string]interface{} {
|
||
|
return q.m
|
||
|
}
|