wechaty/go-wechaty

View on GitHub
wechaty-puppet/schemas/message.go

Summary

Maintainability
A
0 mins
Test Coverage

struct field Id should be ID
Open

    Id         string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported const MessageTypeUnknown should have comment (or a comment on this block) or be unexported
Open

    MessageTypeUnknown     MessageType = 0
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessagePayload should have comment or be unexported
Open

type MessagePayload struct {
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported const WeChatAppMessageTypeText should have comment (or a comment on this block) or be unexported
Open

    WeChatAppMessageTypeText                  WeChatAppMessageType = 1
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field ListenerId should be ListenerID
Open

    ListenerId string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type WeChatMessageType should have comment or be unexported
Open

type WeChatMessageType int
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field TalkerId should be TalkerID
Open

    TalkerId   string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field TalkerId should be TalkerID
Open

    TalkerId string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field RoomId should be RoomID
Open

    RoomId     string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

const WeChatAppMessageTypeUrl should be WeChatAppMessageTypeURL
Open

    WeChatAppMessageTypeUrl                   WeChatAppMessageType = 5
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessagePayloadRoom should have comment or be unexported
Open

type MessagePayloadRoom struct {
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field Id should be ID
Open

    Id string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessagePayloadTo should have comment or be unexported
Open

type MessagePayloadTo = MessagePayloadRoom
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field FromId should be FromID
Open

    FromId     string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

comment on exported type MessageType should be of the form "MessageType ..." (with optional leading article)
Open

//go:generate stringer -type=MessageType
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessagePayloadBase should have comment or be unexported
Open

type MessagePayloadBase struct {
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field RoomId should be RoomID
Open

    RoomId     string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type WeChatAppMessageType should have comment or be unexported
Open

type WeChatAppMessageType int
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field ListenerId should be ListenerID
Open

    ListenerId string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessagePayloadFilterFunction should have comment or be unexported
Open

type MessagePayloadFilterFunction func(payload *MessagePayload) bool
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field ToId should be ToID
Open

    ToId       string
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported const WeChatMessageTypeText should have comment (or a comment on this block) or be unexported
Open

    WeChatMessageTypeText              WeChatMessageType = 1
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

struct field MentionIdList should be MentionIDList
Open

    MentionIdList []string // Mentioned Contacts' Ids
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

exported type MessageQueryFilter should have comment or be unexported
Open

type MessageQueryFilter struct {
Severity: Minor
Found in wechaty-puppet/schemas/message.go by golint

There are no issues that match your filters.

Category
Status