wechaty/go-wechaty

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

Summary

Maintainability
A
0 mins
Test Coverage
F
53%

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

    TypeUnknown Type = 0
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

const TypeUrl should be TypeURL
Open

    TypeUrl    = 2
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

const TypeUuid should be TypeUUID
Open

    TypeUuid   = 7
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

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

//go:generate stringer -type=Type
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

exported type Option should have comment or be unexported
Open

type Option func(options *Options)
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

type OptionsUrl should be OptionsURL
Open

type OptionsUrl struct {
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

struct field Uuid should be UUID
Open

    Uuid string `json:"uuid"`
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

exported function WithOptions should have comment or be unexported
Open

func WithOptions(o Options) Option {
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

struct field RemoteUrl should be RemoteURL
Open

    RemoteUrl string      `json:"url"`
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

type OptionsUuid should be OptionsUUID
Open

type OptionsUuid struct {
Severity: Minor
Found in wechaty-puppet/filebox/type.go by golint

There are no issues that match your filters.

Category
Status