Add mastodon #78
Annotations
10 errors
|
bridge/mastodon/mastodon.go#L74
string `home` has 4 occurrences, make it a constant (goconst)
|
|
gateway/bridgemap/bmastodon.go#L10
don't use `init` function (gochecknoinits)
|
|
bridge/mastodon/mastodon.go#L69
Function 'JoinChannel' is too long (67 > 60) (funlen)
|
|
bridge/mastodon/mastodon.go#L144
unexported method "handleSendRemoteStatus" for struct "Bmastodon" should be placed after the exported method "Send" (funcorder)
|
|
bridge/mastodon/mastodon.go#L247
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
bridge/mastodon/mastodon.go#L167
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
gateway/router.go#L68
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no bridges configured for gateway %s. See https://github.com/matterbridge-org/matterbridge/wiki/How-to-create-your-config for more info\", gw.Name)" (err113)
|
|
gateway/router.go#L63
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no [[gateway]] configured. See https://github.com/matterbridge-org/matterbridge/wiki/How-to-create-your-config for more info\")" (err113)
|
|
bridge/mastodon/mastodon.go#L112
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid channel name: %s\", channel.Name)" (err113)
|
|
bridge/mastodon/mastodon.go#L24
found a struct that contains a context.Context field (containedctx)
|
The logs for this run have expired and are no longer available.
Loading