From 482b6e5c345ef9195d7ff163c40b62da8dd7291d Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Thu, 12 May 2016 19:01:25 -0700 Subject: [PATCH] more comments --- balancer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/balancer.go b/balancer.go index d5f34433..671d2b3d 100644 --- a/balancer.go +++ b/balancer.go @@ -41,8 +41,8 @@ func RoundRobin() Balancer { type roundRobin struct { mu sync.Mutex addrs []Address - next int // index of the next address to return for Get() - waitCh chan struct{} + next int // index of the next address to return for Get() + waitCh chan struct{} // channel to block when there is no address available } // Up appends addr to the end of rr.addrs and sends notification if there