wechaty/go-wechaty

View on GitHub

Showing 544 of 544 total issues

don't use an underscore in package name
Open

package _interface
Severity: Minor
Found in wechaty/interface/image.go by golint

exported type IUrlLinkFactory should have comment or be unexported
Open

type IUrlLinkFactory interface {
Severity: Minor
Found in wechaty/interface/url_link.go by golint

exported method Friendship.Type should have comment or be unexported
Open

func (f *Friendship) Type() schemas.FriendshipType {
Severity: Minor
Found in wechaty/user/friendship.go by golint

exported type Contact should have comment or be unexported
Open

type Contact struct {
Severity: Minor
Found in wechaty/user/contact.go by golint

exported function NewLocation should have comment or be unexported
Open

func NewLocation(payload *schemas.LocationPayload) *Location {
Severity: Minor
Found in wechaty/user/location.go by golint

exported method Message.ToLocation should have comment or be unexported
Open

func (m *Message) ToLocation() (*Location, error) {
Severity: Minor
Found in wechaty/user/message.go by golint

exported method Location.Latitude should have comment or be unexported
Open

func (l *Location) Latitude() float64 {
Severity: Minor
Found in wechaty/user/location.go by golint

method ShareId should be ShareID
Open

func (mp *MiniProgram) ShareId() string {
Severity: Minor
Found in wechaty/user/mini_program.go by golint

comment on exported const FileBoxTypeStream should be of the form "FileBoxTypeStream ..."
Open

    // Deprecated: use filebox package
Severity: Minor
Found in wechaty-puppet/file-box/type.go by golint

exported method RoomInvitation.ToStringAsync should have comment or be unexported
Open

func (ri *RoomInvitation) ToStringAsync() (string, error) {
Severity: Minor
Found in wechaty/user/room_invitation.go by golint

func NewUrlLink should be NewURLLink
Open

func NewUrlLink(payload *schemas.UrlLinkPayload) *UrlLink {
Severity: Minor
Found in wechaty/user/url_link.go by golint

func SetUuidLoader should be SetUUIDLoader
Open

func SetUuidLoader(loader UuidLoader) {

interface method parameter textOrContactOrFileOrUrlOrMini should be textOrContactOrFileOrURLOrMini
Open

    Say(textOrContactOrFileOrUrlOrMini interface{}) (IMessage, error)
Severity: Minor
Found in wechaty/interface/message.go by golint

don't use an underscore in package name
Open

package _interface
Severity: Minor
Found in wechaty/interface/wechaty.go by golint

exported method Message.MentionSelf should have comment or be unexported
Open

func (m *Message) MentionSelf() bool {
Severity: Minor
Found in wechaty/user/message.go by golint

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

func (ri *RoomInvitation) ToJson() (string, error) {
Severity: Minor
Found in wechaty/user/room_invitation.go by golint

exported method Tag.ID should have comment or be unexported
Open

func (t *Tag) ID() string {
Severity: Minor
Found in wechaty/user/tag.go by golint

comment on exported const FileBoxTypeBase64 should be of the form "FileBoxTypeBase64 ..."
Open

    // Deprecated: use filebox package
Severity: Minor
Found in wechaty-puppet/file-box/type.go by golint

var ErrNoUuid should be ErrNoUUID
Open

    ErrNoUuid = errors.New("no uuid")
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

type UuidSaver should be UUIDSaver
Open

type UuidSaver func(reader io.Reader) (uuid string, err error)
Severity
Category
Status
Source
Language