From 6b8b6f6189db89c6d4f7ec9b3cbed5c32adf781d Mon Sep 17 00:00:00 2001 From: geek Date: Thu, 27 Apr 2017 17:39:14 +0900 Subject: [PATCH] close --- queue_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/queue_test.go b/queue_test.go index 533c608..8af08e3 100644 --- a/queue_test.go +++ b/queue_test.go @@ -1,7 +1,6 @@ package queue import ( - "fmt" "loafle.com/overflow/agent_api/observer" "loafle.com/overflow/agent_api/observer/messages" "log" @@ -15,7 +14,7 @@ func TestNewQueue(t *testing.T) { lq := NewQueue(messages.QUEUE_DATA, 5, senderChanel) - fmt.Println(lq) + log.Println(lq) observer.Notify(messages.QUEUE_DATA, "data") observer.Notify(messages.QUEUE_DATA, "data1111") @@ -48,7 +47,7 @@ func GetItemTest(senderChanel chan interface{}) { for sc := range senderChanel { items := reflect.ValueOf(sc) if items.Kind() != reflect.Slice { - fmt.Println("ddddd") + log.Println("ddddd") } //log.Println(items.Len()) for i := 0; i < items.Len(); i++ {