cleaned up the printing
This commit is contained in:
parent
9dfb55deee
commit
694b5c30b9
@ -21,7 +21,7 @@ type Result struct {
|
||||
func fakeSearch(kind string) Search {
|
||||
return func(query string) Result {
|
||||
time.Sleep(time.Duration(rand.Intn(100)) * time.Millisecond)
|
||||
return Result{fmt.Sprintf("%s result for %q\n", kind, query)}
|
||||
return Result{fmt.Sprintf("%s result for %q", kind, query)}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user