From 694b5c30b9ee4630c8b68b227050f7e8cb106cfc Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Tue, 14 May 2013 20:54:45 -0700 Subject: [PATCH] cleaned up the printing --- search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.go b/search.go index c9df3ec..3c04cf2 100644 --- a/search.go +++ b/search.go @@ -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)} } }