added modular text search
This commit is contained in:
parent
797c5f869f
commit
cdbde2919c
3 changed files with 19 additions and 2 deletions
|
@ -74,7 +74,7 @@ func PerformTextSearch(query, safe, lang string) ([]TextSearchResult, error) {
|
|||
return results, nil
|
||||
}
|
||||
|
||||
func handleTextSearch(w http.ResponseWriter, query, safe, lang string) {
|
||||
func handleTextSearchGoogle(w http.ResponseWriter, query, safe, lang string) {
|
||||
// Perform the text search
|
||||
results, err := PerformTextSearch(query, safe, lang)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue