wechaty/go-wechaty

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

Summary

Maintainability
A
0 mins
Test Coverage

exported type FriendshipPayload should have comment or be unexported
Open

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

struct field Id should be ID
Open

    Id        string `json:"id"`
Severity: Minor
Found in wechaty-puppet/schemas/friendship.go by golint

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

    FriendshipTypeUnknown FriendshipType = 0
Severity: Minor
Found in wechaty-puppet/schemas/friendship.go by golint

exported type FriendshipPayloadVerify should have comment or be unexported
Open

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

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

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

exported type FriendshipPayloadConfirm should have comment or be unexported
Open

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

exported type FriendshipSceneType should have comment or be unexported
Open

type FriendshipSceneType uint8
Severity: Minor
Found in wechaty-puppet/schemas/friendship.go by golint

struct field ContactId should be ContactID
Open

    ContactId string `json:"contactId"`
Severity: Minor
Found in wechaty-puppet/schemas/friendship.go by golint

exported type FriendshipPayloadReceive should have comment or be unexported
Open

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

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

    FriendshipSceneTypeUnknown  FriendshipSceneType = 0
Severity: Minor
Found in wechaty-puppet/schemas/friendship.go by golint

exported type FriendshipPayloadBase should have comment or be unexported
Open

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

There are no issues that match your filters.

Category
Status