fzxiao233/Vtb_Record

View on GitHub
live/plugins/cqBot.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type CQMsg should have comment or be unexported
Open

type CQMsg struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported method PluginCQBot.DownloadStart should have comment or be unexported
Open

func (p *PluginCQBot) DownloadStart(process *videoworker.ProcessVideo) error {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported type CQConfig should have comment or be unexported
Open

type CQConfig struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported method PluginCQBot.LiveEnd should have comment or be unexported
Open

func (p *PluginCQBot) LiveEnd(process *videoworker.ProcessVideo) error {
Severity: Minor
Found in live/plugins/cqBot.go by golint

struct field GroupId should be GroupID
Open

    GroupId int    `json:"group_id"`
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported type CQJsonConfig should have comment or be unexported
Open

type CQJsonConfig struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported function CreateLiveMsg should have comment or be unexported
Open

func CreateLiveMsg(v *interfaces.VideoInfo) string {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported method PluginCQBot.LiveStart should have comment or be unexported
Open

func (p *PluginCQBot) LiveStart(process *videoworker.ProcessVideo) error {
Severity: Minor
Found in live/plugins/cqBot.go by golint

var JsonMsg should be JSONMsg
Open

    JsonMsg, _ := json.Marshal(msg)
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported type PluginCQBot should have comment or be unexported
Open

type PluginCQBot struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

range var GroupId should be GroupID
Open

    for _, GroupId := range config.QQGroupID {
Severity: Minor
Found in live/plugins/cqBot.go by golint

There are no issues that match your filters.

Category
Status