cleaned up the printing

This commit is contained in:
Stephen McQuay 2013-05-14 20:54:45 -07:00
parent 9dfb55deee
commit 694b5c30b9

View File

@ -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)}
}
}