You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Helper consists of a message to return when the request from user is not what is expected.
type Helper struct {
message string
}
func newHelper(items ...string) (Driver, error) {
return &Helper{
fmt.Sprintf("usage1: %s <directory> <keyword> (e.g. fmt TODO)\nusage2: localhost (to connect with localhost)\nusage3: history (to see your search history)", items[0]),