wechaty/go-wechaty

View on GitHub
wechaty-puppet/filebox/file_box.go

Summary

Maintainability
A
0 mins
Test Coverage
F
54%

func FromUuid should be FromUUID
Open

func FromUuid(uuid string, options ...Option) *FileBox {
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

var ErrNoUrl should be ErrNoURL
Open

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

exported function FromUuid should have comment or be unexported
Open

func FromUuid(uuid string, options ...Option) *FileBox {
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

var implJsonMap should be implJSONMap
Open

    implJsonMap, err := fb.fileImpl.toJSONMap()
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

exported method FileBox.Size should have comment or be unexported
Open

func (fb *FileBox) Size() {
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

func FromUrl should be FromURL
Open

func FromUrl(urlString string, options ...Option) *FileBox {
Severity: Minor
Found in wechaty-puppet/filebox/file_box.go by golint

method ToUuid should be ToUUID
Open

func (fb *FileBox) ToUuid() (string, error) {
Severity: Minor
Found in wechaty-puppet/filebox/file_box.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

There are no issues that match your filters.

Category
Status