Preparing report...

Report for github.com/fastwego/wxwork

A+    Excellent!    Found 70 issues across 142 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo97%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint51%

Golint is a linter for Go source code.

    • wxwork/corporation/apis/oa/meeting_room/meeting_room.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 34: warning: comment on exported function Add should be of the form "Add ..." (golint)
    • Line 47: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 60: warning: comment on exported function Edit should be of the form "Edit ..." (golint)
    • Line 73: warning: comment on exported function Del should be of the form "Del ..." (golint)
    • Line 86: warning: comment on exported function GetBookingInfo should be of the form "GetBookingInfo ..." (golint)
    • Line 99: warning: comment on exported function Book should be of the form "Book ..." (golint)
    • Line 112: warning: comment on exported function CancelBook should be of the form "CancelBook ..." (golint)
    • wxwork/corporation/type/type_message/type_reply_message.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 19: warning: exported type CDATA should have comment or be unexported (golint)
    • Line 21: warning: exported method CDATA.MarshalXML should have comment or be unexported (golint)
    • Line 28: warning: exported const ReplyMsgTypeText should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type ReplyMessage should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type ReplyEncryptMessage should be of the form "ReplyEncryptMessage ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported type ReplyMessageText should be of the form "ReplyMessageText ..." (with optional leading article) (golint)
    • Line 79: warning: comment on exported type ReplyMessageImage should be of the form "ReplyMessageImage ..." (with optional leading article) (golint)
    • Line 100: warning: comment on exported type ReplyMessageVoice should be of the form "ReplyMessageVoice ..." (with optional leading article) (golint)
    • Line 122: warning: comment on exported type ReplyMessageVideo should be of the form "ReplyMessageVideo ..." (with optional leading article) (golint)
    • Line 144: warning: comment on exported type ReplyMessageNews should be of the form "ReplyMessageNews ..." (with optional leading article) (golint)
    • wxwork/corporation/apis/contact/department/department.go
    • Line 32: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 45: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 58: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 71: warning: comment on exported function List should be of the form "List ..." (golint)
    • wxwork/corporation/cmd/parseDocLink.go
    • Line 32: warning: exported const ServerUrl should have comment or be unexported (golint)
    • Line 50: warning: don't use underscores in Go names; var category_id should be categoryID (golint)
    • Line 56: warning: don't use underscores in Go names; var doc_id should be docID (golint)
    • Line 177: warning: don't use underscores in Go names; range var param_name should be paramName (golint)
    • Line 177: warning: should omit 2nd value from range; this loop is equivalent to `for param_name := range ...` (golint)
    • wxwork/corporation/apis/oa/journal/journal.go
    • Line 30: warning: comment on exported function GetRecordList should be of the form "GetRecordList ..." (golint)
    • Line 43: warning: comment on exported function GetRecordDetail should be of the form "GetRecordDetail ..." (golint)
    • Line 56: warning: comment on exported function GetStatList should be of the form "GetStatList ..." (golint)
    • wxwork/corporation/apis/app/app.go
    • Line 37: warning: comment on exported function AgentGet should be of the form "AgentGet ..." (golint)
    • Line 50: warning: comment on exported function AgentList should be of the form "AgentList ..." (golint)
    • Line 63: warning: comment on exported function AgentSet should be of the form "AgentSet ..." (golint)
    • Line 76: warning: comment on exported function MenuCreate should be of the form "MenuCreate ..." (golint)
    • Line 89: warning: comment on exported function MenuGet should be of the form "MenuGet ..." (golint)
    • Line 102: warning: comment on exported function MenuDelete should be of the form "MenuDelete ..." (golint)
    • Line 115: warning: comment on exported function SetWorkbenchTemplate should be of the form "SetWorkbenchTemplate ..." (golint)
    • Line 128: warning: comment on exported function GetWorkbenchTemplate should be of the form "GetWorkbenchTemplate ..." (golint)
    • Line 141: warning: comment on exported function SetWorkbenchData should be of the form "SetWorkbenchData ..." (golint)
    • wxwork/corporation/apis/contact/user/user.go
    • Line 41: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 54: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 67: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 80: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 93: warning: comment on exported function BatchDelete should be of the form "BatchDelete ..." (golint)
    • Line 106: warning: comment on exported function SimpleList should be of the form "SimpleList ..." (golint)
    • Line 119: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 132: warning: comment on exported function ConvertToOpenId should be of the form "ConvertToOpenId ..." (golint)
    • Line 145: warning: comment on exported function ConvertToUserId should be of the form "ConvertToUserId ..." (golint)
    • Line 158: warning: comment on exported function AuthSucc should be of the form "AuthSucc ..." (golint)
    • Line 171: warning: comment on exported function Invite should be of the form "Invite ..." (golint)
    • Line 184: warning: comment on exported function GetJoinQrcode should be of the form "GetJoinQrcode ..." (golint)
    • Line 197: warning: comment on exported function GetActiveStat should be of the form "GetActiveStat ..." (golint)
    • wxwork/corporation/type/type_event/type_approval_event.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 18: warning: exported const EventTypeApproval should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported type EventApproval should be of the form "EventApproval ..." (with optional leading article) (golint)
    • wxwork/corporation/corporation.go
    • Line 15: warning: package comment should be of the form "Package corporation ..." (golint)
    • Line 44: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported type App should be of the form "App ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported type AppConfig should be of the form "AppConfig ..." (with optional leading article) (golint)
    • Line 81: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 92: warning: comment on exported method Corporation.NewApp should be of the form "NewApp ..." (golint)
    • wxwork/corporation/apis/oa/approve/approve.go
    • Line 35: warning: comment on exported function GetTemplateDetail should be of the form "GetTemplateDetail ..." (golint)
    • Line 48: warning: comment on exported function ApplyEvent should be of the form "ApplyEvent ..." (golint)
    • Line 61: warning: comment on exported function GetApprovalInfo should be of the form "GetApprovalInfo ..." (golint)
    • Line 74: warning: comment on exported function GetApprovalDetail should be of the form "GetApprovalDetail ..." (golint)
    • Line 87: warning: comment on exported function GetApprovalData should be of the form "GetApprovalData ..." (golint)
    • Line 100: warning: comment on exported function GetCorpConf should be of the form "GetCorpConf ..." (golint)
    • Line 113: warning: comment on exported function GetUserVacationQuota should be of the form "GetUserVacationQuota ..." (golint)
    • Line 126: warning: comment on exported function SetOneUserQuota should be of the form "SetOneUserQuota ..." (golint)
    • wxwork/corporation/apis/contact/tag/tag.go
    • Line 35: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 48: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 61: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 74: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 87: warning: comment on exported function AddTagUsers should be of the form "AddTagUsers ..." (golint)
    • Line 100: warning: comment on exported function DelTagUsers should be of the form "DelTagUsers ..." (golint)
    • Line 113: warning: comment on exported function List should be of the form "List ..." (golint)
    • wxwork/corporation/apis/school/department/department.go
    • Line 33: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 46: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 59: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 72: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 85: warning: comment on exported function SetUpgradeInfo should be of the form "SetUpgradeInfo ..." (golint)
    • wxwork/corporation/apis/msgaudit/msgaudit.go
    • Line 32: warning: comment on exported function GetRobotInfo should be of the form "GetRobotInfo ..." (golint)
    • Line 45: warning: comment on exported function GetPermitUserList should be of the form "GetPermitUserList ..." (golint)
    • Line 58: warning: comment on exported function CheckSingleAgree should be of the form "CheckSingleAgree ..." (golint)
    • Line 71: warning: comment on exported function GroupchatGet should be of the form "GroupchatGet ..." (golint)
    • wxwork/corporation/apis/external_contact/customer_assign/customer_assign.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 31: warning: comment on exported function GetUnassignedList should be of the form "GetUnassignedList ..." (golint)
    • Line 44: warning: comment on exported function Transfer should be of the form "Transfer ..." (golint)
    • Line 57: warning: comment on exported function GetTransferResult should be of the form "GetTransferResult ..." (golint)
    • Line 70: warning: comment on exported function GroupChatTransfer should be of the form "GroupChatTransfer ..." (golint)
    • wxwork/corporation/apis/corp_group/corp_group.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 30: warning: comment on exported function ListAppShareInfo should be of the form "ListAppShareInfo ..." (golint)
    • Line 43: warning: comment on exported function GetToken should be of the form "GetToken ..." (golint)
    • Line 56: warning: comment on exported function TransferSession should be of the form "TransferSession ..." (golint)
    • wxwork/corporation/type/type_event/type_external_contact_event.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type EventChangeExternalContact should have comment or be unexported (golint)
    • Line 23: warning: exported const EventTypeChangeExternalContact should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: comment on exported type EventChangeExternalContactAddExternalContact should be of the form "EventChangeExternalContactAddExternalContact ..." (with optional leading article) (golint)
    • Line 54: warning: comment on exported type EventChangeExternalContactEditExternalContact should be of the form "EventChangeExternalContactEditExternalContact ..." (with optional leading article) (golint)
    • Line 74: warning: comment on exported type EventChangeExternalContactAddHalfExternalContact should be of the form "EventChangeExternalContactAddHalfExternalContact ..." (with optional leading article) (golint)
    • Line 94: warning: comment on exported type EventChangeExternalContactDelExternalContact should be of the form "EventChangeExternalContactDelExternalContact ..." (with optional leading article) (golint)
    • Line 112: warning: comment on exported type EventChangeExternalContactDelFollowUser should be of the form "EventChangeExternalContactDelFollowUser ..." (with optional leading article) (golint)
    • Line 130: warning: comment on exported type EventChangeExternalContactChangeExternalChat should be of the form "EventChangeExternalContactChangeExternalChat ..." (with optional leading article) (golint)
    • wxwork/corporation/apis/school/user/user.go
    • Line 44: warning: comment on exported function CreateStudent should be of the form "CreateStudent ..." (golint)
    • Line 57: warning: comment on exported function DeleteStudent should be of the form "DeleteStudent ..." (golint)
    • Line 70: warning: comment on exported function UpdateStudent should be of the form "UpdateStudent ..." (golint)
    • Line 83: warning: comment on exported function BatchCreateStudent should be of the form "BatchCreateStudent ..." (golint)
    • Line 96: warning: comment on exported function BatchDeleteStudent should be of the form "BatchDeleteStudent ..." (golint)
    • Line 109: warning: comment on exported function BatchUpdateStudent should be of the form "BatchUpdateStudent ..." (golint)
    • Line 122: warning: comment on exported function CreateParent should be of the form "CreateParent ..." (golint)
    • Line 135: warning: comment on exported function DeleteParent should be of the form "DeleteParent ..." (golint)
    • Line 148: warning: comment on exported function UpdateParent should be of the form "UpdateParent ..." (golint)
    • Line 161: warning: comment on exported function BatchCreateParent should be of the form "BatchCreateParent ..." (golint)
    • Line 174: warning: comment on exported function BatchDeleteParent should be of the form "BatchDeleteParent ..." (golint)
    • Line 187: warning: comment on exported function BatchUpdateParent should be of the form "BatchUpdateParent ..." (golint)
    • Line 200: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 213: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 226: warning: comment on exported function SetArchSyncMode should be of the form "SetArchSyncMode ..." (golint)
    • Line 239: warning: comment on exported function ListParent should be of the form "ListParent ..." (golint)
    • wxwork/corporation/apis/external_contact/customer_tag/customer_tag.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 32: warning: comment on exported function GetCorpTagList should be of the form "GetCorpTagList ..." (golint)
    • Line 45: warning: comment on exported function AddCorpTag should be of the form "AddCorpTag ..." (golint)
    • Line 58: warning: comment on exported function EditCorpTag should be of the form "EditCorpTag ..." (golint)
    • Line 71: warning: comment on exported function DelCorpTag should be of the form "DelCorpTag ..." (golint)
    • Line 84: warning: comment on exported function MarkTag should be of the form "MarkTag ..." (golint)
    • wxwork/corporation/apis/efficiency/calendar/calendar.go
    • Line 36: warning: comment on exported function CalendarAdd should be of the form "CalendarAdd ..." (golint)
    • Line 49: warning: comment on exported function CalendarUpdate should be of the form "CalendarUpdate ..." (golint)
    • Line 62: warning: comment on exported function CalendarGet should be of the form "CalendarGet ..." (golint)
    • Line 75: warning: comment on exported function CalendarDel should be of the form "CalendarDel ..." (golint)
    • Line 88: warning: comment on exported function ScheduleAdd should be of the form "ScheduleAdd ..." (golint)
    • Line 101: warning: comment on exported function ScheduleUpdate should be of the form "ScheduleUpdate ..." (golint)
    • Line 114: warning: comment on exported function ScheduleGet should be of the form "ScheduleGet ..." (golint)
    • Line 127: warning: comment on exported function ScheduleDel should be of the form "ScheduleDel ..." (golint)
    • Line 140: warning: comment on exported function ScheduleGetByCalendar should be of the form "ScheduleGetByCalendar ..." (golint)
    • wxwork/corporation/apis/school_app/living/living.go
    • Line 33: warning: comment on exported function GetUserAllLivingId should be of the form "GetUserAllLivingId ..." (golint)
    • Line 46: warning: comment on exported function GetLivingInfo should be of the form "GetLivingInfo ..." (golint)
    • Line 59: warning: comment on exported function GetWatchStat should be of the form "GetWatchStat ..." (golint)
    • Line 72: warning: comment on exported function GetUnwatchStat should be of the form "GetUnwatchStat ..." (golint)
    • Line 85: warning: comment on exported function DeleteReplayData should be of the form "DeleteReplayData ..." (golint)
    • wxwork/corporation/apis/contact/async_batch/async_batch.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 32: warning: comment on exported function User should be of the form "User ..." (golint)
    • Line 45: warning: comment on exported function ReplaceUser should be of the form "ReplaceUser ..." (golint)
    • Line 58: warning: comment on exported function ReplaceParty should be of the form "ReplaceParty ..." (golint)
    • Line 71: warning: comment on exported function GetResult should be of the form "GetResult ..." (golint)
    • wxwork/corporation/apis/external_contact/customer_service/customer_service.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 33: warning: comment on exported function GetFollowUserList should be of the form "GetFollowUserList ..." (golint)
    • Line 46: warning: comment on exported function AddContactWay should be of the form "AddContactWay ..." (golint)
    • Line 59: warning: comment on exported function GetContactWay should be of the form "GetContactWay ..." (golint)
    • Line 72: warning: comment on exported function UpdateContactWay should be of the form "UpdateContactWay ..." (golint)
    • Line 85: warning: comment on exported function DelContactWay should be of the form "DelContactWay ..." (golint)
    • Line 98: warning: comment on exported function CloseTempChat should be of the form "CloseTempChat ..." (golint)
    • wxwork/corporation/client.go
    • Line 31: warning: exported var WXServerUrl should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 210: warning: comment on exported function GetAccessToken should be of the form "GetAccessToken ..." (golint)
    • wxwork/corporation/apis/school_app/health/health.go
    • Line 31: warning: comment on exported function GetHealthReportStat should be of the form "GetHealthReportStat ..." (golint)
    • Line 44: warning: comment on exported function GetReportJobids should be of the form "GetReportJobids ..." (golint)
    • Line 57: warning: comment on exported function GetReportJobInfo should be of the form "GetReportJobInfo ..." (golint)
    • Line 70: warning: comment on exported function GetReportAnswer should be of the form "GetReportAnswer ..." (golint)
    • wxwork/corporation/apis/efficiency/living/living.go
    • Line 36: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 49: warning: comment on exported function Modify should be of the form "Modify ..." (golint)
    • Line 62: warning: comment on exported function Cancel should be of the form "Cancel ..." (golint)
    • Line 75: warning: comment on exported function DeleteReplayData should be of the form "DeleteReplayData ..." (golint)
    • Line 88: warning: comment on exported function GetLivingCode should be of the form "GetLivingCode ..." (golint)
    • Line 101: warning: comment on exported function GetUserAllLivingId should be of the form "GetUserAllLivingId ..." (golint)
    • Line 114: warning: comment on exported function GetLivingInfo should be of the form "GetLivingInfo ..." (golint)
    • Line 127: warning: comment on exported function GetWatchStat should be of the form "GetWatchStat ..." (golint)
    • wxwork/corporation/apis/school/school.go
    • Line 32: warning: comment on exported function GetSubscribeQrCode should be of the form "GetSubscribeQrCode ..." (golint)
    • Line 45: warning: comment on exported function SetSubscribeMode should be of the form "SetSubscribeMode ..." (golint)
    • Line 58: warning: comment on exported function GetSubscribeMode should be of the form "GetSubscribeMode ..." (golint)
    • Line 71: warning: comment on exported function Send should be of the form "Send ..." (golint)
    • Line 84: warning: comment on exported function ConvertToOpenid should be of the form "ConvertToOpenid ..." (golint)
    • wxwork/corporation/apis/external_contact/customer_message/customer_message.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 36: warning: comment on exported function AddMsgTemplate should be of the form "AddMsgTemplate ..." (golint)
    • Line 49: warning: comment on exported function GetGroupmsgList should be of the form "GetGroupmsgList ..." (golint)
    • Line 62: warning: comment on exported function GetGroupmsgTask should be of the form "GetGroupmsgTask ..." (golint)
    • Line 75: warning: comment on exported function GetGroupmsgSendResult should be of the form "GetGroupmsgSendResult ..." (golint)
    • Line 88: warning: comment on exported function SendWelcomeMsg should be of the form "SendWelcomeMsg ..." (golint)
    • Line 101: warning: comment on exported function GroupWelcomeTemplateAdd should be of the form "GroupWelcomeTemplateAdd ..." (golint)
    • Line 114: warning: comment on exported function GroupWelcomeTemplateEdit should be of the form "GroupWelcomeTemplateEdit ..." (golint)
    • Line 127: warning: comment on exported function GroupWelcomeTemplateGet should be of the form "GroupWelcomeTemplateGet ..." (golint)
    • Line 140: warning: comment on exported function GroupWelcomeTemplateDel should be of the form "GroupWelcomeTemplateDel ..." (golint)
    • wxwork/corporation/apis/util/util.go
    • Line 25: warning: comment on exported function GetApiDomainIp should be of the form "GetApiDomainIp ..." (golint)
    • Line 38: warning: comment on exported function GetCallbackIp should be of the form "GetCallbackIp ..." (golint)
    • wxwork/corporation/apis/oauth/oauth.go
    • Line 16: warning: package comment is detached; there should be no blank lines between it and the package statement (golint)
    • Line 32: warning: comment on exported function GetAuthorizeUrl should be of the form "GetAuthorizeUrl ..." (golint)
    • Line 51: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 58: warning: comment on exported function GetUserInfo should be of the form "GetUserInfo ..." (golint)
    • wxwork/corporation/apis/invoice/invoice.go
    • Line 31: warning: comment on exported function GetInvoiceInfo should be of the form "GetInvoiceInfo ..." (golint)
    • Line 44: warning: comment on exported function UpdateInvoiceStatus should be of the form "UpdateInvoiceStatus ..." (golint)
    • Line 57: warning: comment on exported function UpdateStatusBatch should be of the form "UpdateStatusBatch ..." (golint)
    • Line 70: warning: comment on exported function GetInvoiceInfoBatch should be of the form "GetInvoiceInfoBatch ..." (golint)
    • wxwork/corporation/apis/oa/checkin/checkin.go
    • Line 35: warning: comment on exported function GetCorpCheckinOption should be of the form "GetCorpCheckinOption ..." (golint)
    • Line 48: warning: comment on exported function GetCheckinOption should be of the form "GetCheckinOption ..." (golint)
    • Line 61: warning: comment on exported function GetCheckinData should be of the form "GetCheckinData ..." (golint)
    • Line 74: warning: comment on exported function GetCheckinDayData should be of the form "GetCheckinDayData ..." (golint)
    • Line 87: warning: comment on exported function GetCheckinMonthData should be of the form "GetCheckinMonthData ..." (golint)
    • Line 100: warning: comment on exported function GetCheckinScheduleList should be of the form "GetCheckinScheduleList ..." (golint)
    • Line 113: warning: comment on exported function SetCheckinScheduleList should be of the form "SetCheckinScheduleList ..." (golint)
    • Line 126: warning: comment on exported function AddCheckinUserFace should be of the form "AddCheckinUserFace ..." (golint)
    • wxwork/corporation/apis/material/material.go
    • Line 36: warning: comment on exported function Upload should be of the form "Upload ..." (golint)
    • Line 69: warning: comment on exported function UploadImg should be of the form "UploadImg ..." (golint)
    • Line 102: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 127: warning: comment on exported function Jssdk should be of the form "Jssdk ..." (golint)
    • wxwork/corporation/type/type_event/type_menu_event.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 18: warning: exported const EventTypeMenuClick should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: comment on exported type EventMenuClick should be of the form "EventMenuClick ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported type EventMenuView should be of the form "EventMenuView ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported type EventMenuScanCodePush should be of the form "EventMenuScanCodePush ..." (with optional leading article) (golint)
    • Line 87: warning: comment on exported type EventMenuScanCodeWaitMsg should be of the form "EventMenuScanCodeWaitMsg ..." (with optional leading article) (golint)
    • Line 111: warning: comment on exported type EventMenuPicSysPhoto should be of the form "EventMenuPicSysPhoto ..." (with optional leading article) (golint)
    • Line 158: warning: exported type EventMenuPicSysPhotoOrAlbum should have comment or be unexported (golint)
    • Line 175: warning: comment on exported type EventMenuPicWeixin should be of the form "EventMenuPicWeixin ..." (with optional leading article) (golint)
    • Line 225: warning: exported type EventMenuLocationSelect should have comment or be unexported (golint)
    • wxwork/corporation/apis/contact/linked_corp/linked_corp.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 32: warning: comment on exported function GetPermList should be of the form "GetPermList ..." (golint)
    • Line 45: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 58: warning: comment on exported function SimpleList should be of the form "SimpleList ..." (golint)
    • Line 71: warning: comment on exported function UserList should be of the form "UserList ..." (golint)
    • Line 84: warning: comment on exported function DepartmentList should be of the form "DepartmentList ..." (golint)
    • wxwork/corporation/apis/efficiency/meeting/meeting.go
    • Line 32: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 45: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 58: warning: comment on exported function Cancel should be of the form "Cancel ..." (golint)
    • Line 71: warning: comment on exported function GetUserMeetingId should be of the form "GetUserMeetingId ..." (golint)
    • Line 84: warning: comment on exported function GetInfo should be of the form "GetInfo ..." (golint)
    • wxwork/corporation/apis/payment/payment.go
    • Line 32: warning: comment on exported function AddMerchant should be of the form "AddMerchant ..." (golint)
    • Line 45: warning: comment on exported function GetMerchant should be of the form "GetMerchant ..." (golint)
    • Line 58: warning: comment on exported function DelMerchant should be of the form "DelMerchant ..." (golint)
    • Line 71: warning: comment on exported function SetMchUseScope should be of the form "SetMchUseScope ..." (golint)
    • Line 84: warning: comment on exported function GetBillList should be of the form "GetBillList ..." (golint)
    • wxwork/corporation/test/test.go
    • Line 26: warning: exported var MockCorporation should have comment or be unexported (golint)
    • Line 27: warning: exported var MockApp should have comment or be unexported (golint)
    • Line 28: warning: exported var MockSvr should have comment or be unexported (golint)
    • Line 29: warning: exported var MockSvrHandler should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function Setup should be of the form "Setup ..." (golint)
    • wxwork/corporation/apis/school_app/health_qrcode/health_qrcode.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 30: warning: comment on exported function GetTeacherCustomizeHealthInfo should be of the form "GetTeacherCustomizeHealthInfo ..." (golint)
    • Line 43: warning: comment on exported function GetStudentCustomizeHealthInfo should be of the form "GetStudentCustomizeHealthInfo ..." (golint)
    • Line 56: warning: comment on exported function GetHealthQrcode should be of the form "GetHealthQrcode ..." (golint)
    • wxwork/corporation/cmd/build.go
    • Line 30: warning: exported type Param should have comment or be unexported (golint)
    • Line 35: warning: exported type Api should have comment or be unexported (golint)
    • Line 44: warning: exported type ApiGroup should have comment or be unexported (golint)
    • wxwork/corporation/apis/gov/patrol_report/patrol_report.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 33: warning: comment on exported function GetGridInfo should be of the form "GetGridInfo ..." (golint)
    • Line 46: warning: comment on exported function GetCorpStatus should be of the form "GetCorpStatus ..." (golint)
    • Line 59: warning: comment on exported function GetUserStatus should be of the form "GetUserStatus ..." (golint)
    • Line 72: warning: comment on exported function CategoryStatistic should be of the form "CategoryStatistic ..." (golint)
    • Line 85: warning: comment on exported function GetOrderList should be of the form "GetOrderList ..." (golint)
    • Line 98: warning: comment on exported function GetOrderInfo should be of the form "GetOrderInfo ..." (golint)
    • wxwork/corporation/type/type_event/type_contact_event.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type EventChangeContact should have comment or be unexported (golint)
    • Line 23: warning: exported const EventTypeChangeContact should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: comment on exported type EventChangeContactCreateUser should be of the form "EventChangeContactCreateUser ..." (with optional leading article) (golint)
    • Line 156: warning: exported type EventChangeContactUpdateUser should have comment or be unexported (golint)
    • Line 192: warning: comment on exported type EventChangeContactDeleteUser should be of the form "EventChangeContactDeleteUser ..." (with optional leading article) (golint)
    • Line 209: warning: comment on exported type EventChangeContactCreateParty should be of the form "EventChangeContactCreateParty ..." (with optional leading article) (golint)
    • Line 232: warning: comment on exported type EventChangeContactUpdateParty should be of the form "EventChangeContactUpdateParty ..." (with optional leading article) (golint)
    • Line 254: warning: comment on exported type EventChangeContactDeleteParty should be of the form "EventChangeContactDeleteParty ..." (with optional leading article) (golint)
    • Line 270: warning: comment on exported type EventChangeContactUpdateTag should be of the form "EventChangeContactUpdateTag ..." (with optional leading article) (golint)
    • Line 294: warning: comment on exported type EventBatchJobResult should be of the form "EventBatchJobResult ..." (with optional leading article) (golint)
    • wxwork/corporation/apis/external_contact/customer_moment/customer_moment.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 32: warning: comment on exported function GetMomentList should be of the form "GetMomentList ..." (golint)
    • Line 45: warning: comment on exported function GetMomentTask should be of the form "GetMomentTask ..." (golint)
    • Line 58: warning: comment on exported function GetMomentCustomerList should be of the form "GetMomentCustomerList ..." (golint)
    • Line 71: warning: comment on exported function GetMomentSendResult should be of the form "GetMomentSendResult ..." (golint)
    • Line 84: warning: comment on exported function GetMomentComments should be of the form "GetMomentComments ..." (golint)
    • wxwork/corporation/type/type_message/type_message.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 20: warning: exported const MsgTypeText should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type Message should have comment or be unexported (golint)
    • Line 39: warning: comment on exported type EncryptMessage should be of the form "EncryptMessage ..." (with optional leading article) (golint)
    • Line 54: warning: comment on exported type MessageText should be of the form "MessageText ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported type MessageImage should be of the form "MessageImage ..." (with optional leading article) (golint)
    • Line 86: warning: comment on exported type MessageVoice should be of the form "MessageVoice ..." (with optional leading article) (golint)
    • Line 105: warning: comment on exported type MessageVideo should be of the form "MessageVideo ..." (with optional leading article) (golint)
    • Line 123: warning: comment on exported type MessageLocation should be of the form "MessageLocation ..." (with optional leading article) (golint)
    • Line 139: warning: don't use underscores in Go names; struct field Location_X should be LocationX (golint)
    • Line 140: warning: don't use underscores in Go names; struct field Location_Y should be LocationY (golint)
    • Line 145: warning: comment on exported type MessageLink should be of the form "MessageLink ..." (with optional leading article) (golint)
    • wxwork/corporation/type/type_event/type_event.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 22: warning: exported const EventTypeTaskCardClick should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type Event should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type EventTaskCardClick should be of the form "EventTaskCardClick ..." (with optional leading article) (golint)
    • wxwork/corporation/apis/efficiency/wedrive/wedrive.go
    • Line 47: warning: comment on exported function SpaceCreate should be of the form "SpaceCreate ..." (golint)
    • Line 60: warning: comment on exported function SpaceRename should be of the form "SpaceRename ..." (golint)
    • Line 73: warning: comment on exported function SpaceDismiss should be of the form "SpaceDismiss ..." (golint)
    • Line 86: warning: comment on exported function SpaceInfo should be of the form "SpaceInfo ..." (golint)
    • Line 99: warning: comment on exported function SpaceAclAdd should be of the form "SpaceAclAdd ..." (golint)
    • Line 112: warning: comment on exported function SpaceAclDel should be of the form "SpaceAclDel ..." (golint)
    • Line 125: warning: comment on exported function SpaceSetting should be of the form "SpaceSetting ..." (golint)
    • Line 138: warning: comment on exported function SpaceShare should be of the form "SpaceShare ..." (golint)
    • Line 151: warning: comment on exported function FileList should be of the form "FileList ..." (golint)
    • Line 164: warning: comment on exported function FileUpload should be of the form "FileUpload ..." (golint)
    • Line 177: warning: comment on exported function FileDownload should be of the form "FileDownload ..." (golint)
    • Line 190: warning: comment on exported function FileCreate should be of the form "FileCreate ..." (golint)
    • Line 203: warning: comment on exported function FileRename should be of the form "FileRename ..." (golint)
    • Line 216: warning: comment on exported function FileMove should be of the form "FileMove ..." (golint)
    • Line 229: warning: comment on exported function FileDelete should be of the form "FileDelete ..." (golint)
    • Line 242: warning: comment on exported function FileInfo should be of the form "FileInfo ..." (golint)
    • Line 255: warning: comment on exported function FileAclAdd should be of the form "FileAclAdd ..." (golint)
    • Line 268: warning: comment on exported function FileAclDel should be of the form "FileAclDel ..." (golint)
    • Line 281: warning: comment on exported function FileSetting should be of the form "FileSetting ..." (golint)
    • Line 294: warning: comment on exported function FileShare should be of the form "FileShare ..." (golint)
    • wxwork/corporation/apis/message/message.go
    • Line 36: warning: comment on exported function Send should be of the form "Send ..." (golint)
    • Line 49: warning: comment on exported function UpdateTaskcard should be of the form "UpdateTaskcard ..." (golint)
    • Line 62: warning: comment on exported function AppchatCreate should be of the form "AppchatCreate ..." (golint)
    • Line 75: warning: comment on exported function AppchatUpdate should be of the form "AppchatUpdate ..." (golint)
    • Line 88: warning: comment on exported function AppchatGet should be of the form "AppchatGet ..." (golint)
    • Line 101: warning: comment on exported function AppchatSend should be of the form "AppchatSend ..." (golint)
    • Line 114: warning: comment on exported function LinkedcorpMessageSend should be of the form "LinkedcorpMessageSend ..." (golint)
    • Line 127: warning: comment on exported function GetStatistics should be of the form "GetStatistics ..." (golint)
    • wxwork/corporation/apis/external_contact/customer/customer.go
    • Line 33: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 46: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 59: warning: comment on exported function GetByUser should be of the form "GetByUser ..." (golint)
    • Line 72: warning: comment on exported function Remark should be of the form "Remark ..." (golint)
    • Line 85: warning: comment on exported function GetMobileHashcode should be of the form "GetMobileHashcode ..." (golint)
    • wxwork/corporation/apis/gov/resident_report/resident_report.go
    • Line 16: warning: don't use an underscore in package name (golint)
    • Line 33: warning: comment on exported function GetGridInfo should be of the form "GetGridInfo ..." (golint)
    • Line 46: warning: comment on exported function GetCorpStatus should be of the form "GetCorpStatus ..." (golint)
    • Line 59: warning: comment on exported function GetUserStatus should be of the form "GetUserStatus ..." (golint)
    • Line 72: warning: comment on exported function CategoryStatistic should be of the form "CategoryStatistic ..." (golint)
    • Line 85: warning: comment on exported function GetOrderList should be of the form "GetOrderList ..." (golint)
    • Line 98: warning: comment on exported function GetOrderInfo should be of the form "GetOrderInfo ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!