wechaty-puppet/file-box/type.go
Your code does not pass gofmt in 2 places. Go fmt your code! Open
Open
package file_box
- Exclude checks
comment on exported const FileBoxTypeUrl should be of the form "FileBoxTypeUrl ..." Open
Open
// Deprecated: use filebox package
- Exclude checks
comment on exported const FileBoxTypeFile should be of the form "FileBoxTypeFile ..." Open
Open
// Deprecated: use filebox package
- Exclude checks
exported const FileBoxTypeUnknown should have comment (or a comment on this block) or be unexported Open
Open
FileBoxTypeUnknown FileBoxType = 0
- Exclude checks
don't use an underscore in package name Open
Open
package file_box
- Exclude checks
comment on exported const FileBoxTypeQRCode should be of the form "FileBoxTypeQRCode ..." Open
Open
// Deprecated: use filebox package
- Exclude checks
const FileBoxTypeUrl should be FileBoxTypeURL Open
Open
FileBoxTypeUrl = 2
- Exclude checks
comment on exported const FileBoxTypeBuffer should be of the form "FileBoxTypeBuffer ..." Open
Open
// Deprecated: use filebox package
- Exclude checks
type FileBoxOptionsUrl should be FileBoxOptionsURL Open
Open
type FileBoxOptionsUrl struct {
- Exclude checks
struct field RemoteUrl should be RemoteURL Open
Open
RemoteUrl string `json:"remoteUrl"`
- Exclude checks
comment on exported type FileBoxType should be of the form "FileBoxType ..." (with optional leading article) Open
Open
//go:generate stringer -type=FileBoxType
- Exclude checks
comment on exported const FileBoxTypeStream should be of the form "FileBoxTypeStream ..." Open
Open
// Deprecated: use filebox package
- Exclude checks
comment on exported const FileBoxTypeBase64 should be of the form "FileBoxTypeBase64 ..." Open
Open
// Deprecated: use filebox package
- Exclude checks