Skip to content

fix duplicate import "go-micro.dev/v4/server" #125

fix duplicate import "go-micro.dev/v4/server"

fix duplicate import "go-micro.dev/v4/server" #125

Triggered via pull request December 8, 2023 08:19
Status Failure
Total duration 57s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint: channel.go#L11
import 'github.com/google/uuid' is not allowed from list 'Main' (depguard)
Lint: channel.go#L12
import 'github.com/streadway/amqp' is not allowed from list 'Main' (depguard)
Lint: channel.go#L23
line is 133 characters (lll)
Lint: channel.go#L28
assignments should only be cuddled with other assignments (wsl)
Lint: channel.go#L32
only one cuddle assignment allowed before if statement (wsl)
Lint: channel.go#L35
return statements should not be cuddled if block has more than two lines (wsl)
Lint: channel.go#L41
only one cuddle assignment allowed before if statement (wsl)
Lint: channel.go#L64
ST1005: error strings should not be capitalized (stylecheck)
Lint: channel.go#L66
return statements should not be cuddled if block has more than two lines (wsl)
Lint: channel.go#L71
ST1005: error strings should not be capitalized (stylecheck)
Lint: auth.go#L3
exported: exported type ExternalAuthentication should have comment or be unexported (revive)
Lint: auth.go#L6
exported: exported method ExternalAuthentication.Mechanism should have comment or be unexported (revive)
Lint: auth.go#L10
exported: exported method ExternalAuthentication.Response should have comment or be unexported (revive)
Lint: connection.go#L18
exported: exported type MQExchangeType should have comment or be unexported (revive)
Lint: connection.go#L21
exported: exported const ExchangeTypeFanout should have comment (or a comment on this block) or be unexported (revive)
Lint: connection.go#L27
exported: exported var DefaultExchange should have comment or be unexported (revive)
Lint: options.go#L67
exported: exported function RequeueOnError should have comment or be unexported (revive)
Lint: options.go#L138
var-naming: func MessageId should be MessageID (revive)
Lint: options.go#L162
exported: exported function ExternalAuth should have comment or be unexported (revive)
Lint: rabbitmq.go#L388
exported: exported function NewBroker should have comment or be unexported (revive)