wechaty/go-wechaty

View on GitHub

Showing 544 of 544 total issues

exported method PuppetMock.RoomList should have comment or be unexported
Open

func (p *PuppetMock) RoomList() ([]string, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.SetRoomTopic should have comment or be unexported
Open

func (p *PuppetMock) SetRoomTopic(roomID string, topic string) error {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

struct field Id should be ID
Open

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

struct field AdminIdList should be AdminIDList
Open

    AdminIdList  []string
Severity: Minor
Found in wechaty-puppet/schemas/room.go by golint

struct field Id should be ID
Open

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

exported type RoomInvitationPayload should have comment or be unexported
Open

type RoomInvitationPayload struct {

exported method PuppetMock.RoomInvitationRawPayload should have comment or be unexported
Open

func (p PuppetMock) RoomInvitationRawPayload(roomInvitationID string) (*schemas.RoomInvitationPayload, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.MessageSendContact should have comment or be unexported
Open

func (p PuppetMock) MessageSendContact(conversationID string, contactID string) (string, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.SetRoomAnnounce should have comment or be unexported
Open

func (p *PuppetMock) SetRoomAnnounce(roomID, text string) error {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.FriendshipAdd should have comment or be unexported
Open

func (p *PuppetMock) FriendshipAdd(contactID, hello string) (err error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.TagContactDelete should have comment or be unexported
Open

func (p *PuppetMock) TagContactDelete(id string) (err error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

type UrlLinkPayload should be URLLinkPayload
Open

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

exported function NewPuppetMock should have comment or be unexported
Open

func NewPuppetMock(option wechatyPuppet.Option) (*PuppetMock, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.ContactRawPayload should have comment or be unexported
Open

func (p *PuppetMock) ContactRawPayload(contactID string) (*schemas.ContactPayload, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.SetContactSelfName should have comment or be unexported
Open

func (p *PuppetMock) SetContactSelfName(name string) error {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.RoomDel should have comment or be unexported
Open

func (p *PuppetMock) RoomDel(roomID, contactID string) error {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

struct field ThumbUrl should be ThumbURL
Open

    ThumbUrl    string `json:"thumbUrl"`    // optional, default picture, convert to thumbnail

exported method UrlLinkPayload.ToJson should have comment or be unexported
Open

func (u *UrlLinkPayload) ToJson() string {
Severity: Minor
Found in wechaty-puppet/schemas/url_link.go by golint

exported method PuppetMock.Ding should have comment or be unexported
Open

func (p *PuppetMock) Ding(data string) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

exported method PuppetMock.ContactAlias should have comment or be unexported
Open

func (p *PuppetMock) ContactAlias(contactID string) (string, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint
Severity
Category
Status
Source
Language