Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/answer-plugins
/ convertToInterfaceSlice
Function
convertToInterfaceSlice
search-elasticsearch/es.go:284–290 ·
view source on GitHub ↗
(slice []string)
Source
from the content-addressed store, hash-verified
282
}
283
284
func
convertToInterfaceSlice(slice []string) []
interface
{} {
285
s := make([]
interface
{}, len(slice))
286
for
i, v :=
range
slice {
287
s[i] = v
288
}
289
return
s
290
}
Callers
1
buildQuery
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected