wangjia007bond commented on issue #168: [Issue-148][pulsar-client-go] add seek by messageID URL: https://github.com/apache/pulsar-client-go/pull/168#issuecomment-573182612 > The check of `golanglint-ci` fail, please fix them. > > you can run `golangci-lint run -c ./golangci.yml ./...` in locally. > > ``` > pulsar/test_helper.go:201:1: context.Context should be the first parameter of a function (golint) > func send(t *testing.T, producer Producer, ctx context.Context, times int, message *ProducerMessage) { > ^ > pulsar/test_helper.go:216:1: context.Context should be the first parameter of a function (golint) > func receive(t *testing.T, consumer Consumer, ctx context.Context, times int, inspect func(*testing.T, Message, int)) { > ^ > pulsar/test_helper.go:25: File is not `goimports`-ed (goimports) > "github.com/stretchr/testify/assert" > pulsar/consumer_test.go:56: File is not `goimports`-ed (goimports) > msgProperties := map[string]string{ "key-1": "pulsar-1" } > ``` Done.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
