golint suggestions.

Change-Id: Ieae2a4413f90a9b0f6f4868bcea8983751682515
Reviewed-on: http://review.couchbase.org/41895
Reviewed-by: John Liang <johliang00@gmail.com>
Reviewed-by: Pratap Chakravarthy <prataprc@couchbase.com>
Tested-by: Pratap Chakravarthy <prataprc@couchbase.com>