wechaty/go-wechaty

View on GitHub

Showing 544 of 544 total issues

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

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

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

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

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

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

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

func (p *PuppetMock) RoomRawPayload(id string) (*schemas.RoomPayload, 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

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

func (p *PuppetMock) RoomCreate(contactIDList []string, topic string) (string, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.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 Url should be URL
Open

    Url          string `json:"url"`
Severity: Minor
Found in wechaty-puppet/schemas/url_link.go by golint

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

func (p PuppetMock) MessageSendMiniProgram(conversationID string, urlLinkPayload *schemas.MiniProgramPayload) (string, error) {
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

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

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

struct field MemberIdList should be MemberIDList
Open

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

struct field InviterId should be InviterID
Open

    InviterId    string    `json:"inviterId"`

don't use an underscore in package name
Open

package wechaty_puppet_mock
Severity: Minor
Found in wechaty-puppet-mock/puppet_mock.go by golint

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

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

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

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

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

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

method ToJson should be ToJSON
Open

func (m *MiniProgramPayload) ToJson() string {

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

    PayloadTypeMessage
Severity: Minor
Found in wechaty-puppet/schemas/payload.go by golint

exported method RoomQueryFilter.Empty should have comment or be unexported
Open

func (r *RoomQueryFilter) Empty() bool {
Severity: Minor
Found in wechaty-puppet/schemas/room.go by golint

method ToJson should be ToJSON
Open

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