// text.go package main import ( "net/http" ) // HandleTextSearch determines which text search engine to use and calls the appropriate function func handleTextSearch(w http.ResponseWriter, query, safe, lang string) { // Add logic here to determine which search engine to use, for now it just uses Google handleTextSearchGoogle(w, query, safe, lang) } func displayResults(w http.ResponseWriter, results string) { // Implement your result display logic here w.Write([]byte(results)) }