use latest protoc-gen-go #17
Annotations
10 errors
Run pre-commit:
pkg/gchatmeow/channel.go#L284
sendStreamEvent passes lock by value: go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto.StreamEventsRequest contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex
|
Run pre-commit:
pkg/gchatmeow/channel.go#L481
log.Printf format %d has arg arrayID of wrong type float64
|
Run pre-commit:
pkg/gchatmeow/client.go#L232
fmt.Printf does not support error-wrapping directive %w
|
Run pre-commit:
pkg/gchatmeow/api.go#L30
conversion from int64 to string yields a string of one rune, not a string of digits
|
Run pre-commit:
pkg/gchatmeow/channel.go#L290
conversion from int to string yields a string of one rune, not a string of digits
|
Run pre-commit:
pkg/gchatmeow/channel.go#L392
conversion from int to string yields a string of one rune, not a string of digits
|
Run pre-commit:
pkg/gchatmeow/channel.go#L208
var backoffSeconds is of type time.Duration; don't use unit-specific suffix "Seconds" (ST1011)
|
Run pre-commit:
pkg/gchatmeow/client.go#L54
field clientID is unused (U1000)
|
Run pre-commit:
pkg/gchatmeow/client.go#L55
field email is unused (U1000)
|
Run pre-commit:
pkg/gchatmeow/client.go#L56
field lastActiveSecs is unused (U1000)
|
Loading