You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2019/07/26 02:41:07 UTC

[pulsar-client-go] branch master updated (c53f30d -> 2c5503b)

This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git.


    from c53f30d  Add golangci-lint for formatting code (#21)
     new cddfc7f  Use golangci-lint to format the code for the master branch
     new 3c960ce  add gofmt check
     new aec466d  fix a little
     new 2c5503b  Merge pull request #24 from wolfstudy/xiaolong/code_format_producer

The 58 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 perf/perf-consumer.go                  | 23 ++++++----
 perf/perf-producer.go                  | 12 +++---
 perf/pulsar-perf-go.go                 | 10 +++--
 pkg/auth/disabled.go                   |  4 +-
 pkg/auth/provider.go                   | 10 ++---
 pkg/auth/tls.go                        |  4 +-
 pkg/auth/token.go                      | 14 +++----
 pkg/compression/compression_test.go    |  3 +-
 pkg/compression/lz4.go                 | 22 +++++-----
 pkg/compression/noop.go                |  2 +-
 pkg/compression/zlib.go                | 22 +++++++---
 pkg/compression/zstd.go                |  2 +-
 pulsar/client.go                       |  3 +-
 pulsar/impl_client.go                  | 26 ++++++------
 pulsar/impl_client_test.go             | 16 +++----
 pulsar/impl_message.go                 | 39 +++++++++--------
 pulsar/impl_message_test.go            | 10 ++---
 pulsar/impl_partition_producer.go      | 76 +++++++++++++++++++---------------
 pulsar/impl_producer.go                |  8 ++--
 pulsar/internal/batch_builder.go       | 43 +++++++++----------
 pulsar/internal/checksum.go            |  2 +-
 pulsar/internal/commands.go            |  6 +--
 pulsar/internal/commands_test.go       |  4 +-
 pulsar/internal/connection.go          | 60 ++++++++++++++-------------
 pulsar/internal/connection_pool.go     | 16 +++----
 pulsar/internal/connection_reader.go   |  8 ++--
 pulsar/internal/default_router_test.go |  5 +--
 pulsar/internal/hash.go                |  5 ++-
 pulsar/internal/hash_test.go           |  5 ++-
 pulsar/internal/lookup_service.go      | 25 ++++++-----
 pulsar/internal/lookup_service_test.go | 59 +++++++++++++-------------
 pulsar/internal/rpc_client.go          | 67 +++++++++++++++---------------
 pulsar/internal/topic_name.go          |  5 +--
 pulsar/internal/topic_name_test.go     |  1 -
 pulsar/message.go                      | 10 ++---
 pulsar/producer_test.go                | 22 +++++-----
 pulsar/test_helper.go                  |  4 +-
 util/blocking_queue.go                 | 23 +++++-----
 38 files changed, 358 insertions(+), 318 deletions(-)