Preparing report...

Report for github.com/raralabs/pm5-emulator

A    Great!    Found 17 issues across 38 files

Tweet

gofmt78%

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!


gocyclo100%

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.

No problems detected. Good job!


golint76%

Golint is a linter for Go source code.

    • pm5-emulator/service/mux/multiplexed.go
    • Line 3: warning: exported type Multiplexer should have comment or be unexported (golint)
    • Line 6: warning: comment on exported method Multiplexer.HandleC2RowingGeneralStatus should be of the form "HandleC2RowingGeneralStatus ..." (golint)
    • Line 12: warning: comment on exported method Multiplexer.HandleC2RowingAdditionalStatusOne should be of the form "HandleC2RowingAdditionalStatusOne ..." (golint)
    • Line 18: warning: comment on exported method Multiplexer.HandleC2RowingAdditionalStatusTwo should be of the form "HandleC2RowingAdditionalStatusTwo ..." (golint)
    • Line 24: warning: comment on exported method Multiplexer.HandleC2RowingStrokeData should be of the form "HandleC2RowingStrokeData ..." (golint)
    • pm5-emulator/service/decorator/subscriber.go
    • Line 27: warning: comment on exported method ServiceSubscriber.AddCharacteristic should be of the form "AddCharacteristic ..." (golint)
    • Line 65: warning: comment on exported method ServiceSubscriber.SetCharacteristics should be of the form "SetCharacteristics ..." (golint)
    • Line 70: warning: comment on exported method ServiceSubscriber.Characteristics should be of the form "Characteristics ..." (golint)
    • pm5-emulator/service/mux/mux-defs.go
    • Line 4: warning: don't use underscores in Go names; var Rowing_General_0x31 should be RowingGeneral0x31 (golint)
    • Line 4: warning: exported var Rowing_General_0x31 should have comment or be unexported (golint)
    • Line 5: warning: don't use underscores in Go names; var Rowing_Additional_0x32 should be RowingAdditional0x32 (golint)
    • Line 6: warning: don't use underscores in Go names; var Rowing_Additional_0x33 should be RowingAdditional0x33 (golint)
    • Line 7: warning: don't use underscores in Go names; var Stroke_Data_0x35 should be StrokeData0x35 (golint)
    • Line 8: warning: don't use underscores in Go names; var Stroke_Data_0x36 should be StrokeData0x36 (golint)
    • Line 9: warning: don't use underscores in Go names; var Split_Interval_0x37 should be SplitInterval0x37 (golint)
    • Line 10: warning: don't use underscores in Go names; var Split_Interval_0x38 should be SplitInterval0x38 (golint)
    • Line 11: warning: don't use underscores in Go names; var Workout_Summary_0x39 should be WorkoutSummary0x39 (golint)
    • Line 12: warning: don't use underscores in Go names; var Workout_Summary_0x3A should be WorkoutSummary0x3A (golint)
    • Line 13: warning: don't use underscores in Go names; var Heart_Rate_Belt_Info_0x3B should be HeartRateBeltInfo0x3B (golint)
    • Line 14: warning: don't use underscores in Go names; var Workout_Summary_0x3C should be WorkoutSummary0x3C (golint)
    • Line 17: warning: exported var PM5MultiplexedData should have comment or be unexported (golint)
    • pm5-emulator/protocol/csafe/csafe-defs.go
    • Line 13: warning: exported const FRAME_MAX_STUFF_OFFSET_BYTE should have comment or be unexported (golint)
    • Line 15: warning: exported const FRAME_FLG_LEN should have comment or be unexported (golint)
    • Line 16: warning: exported const EXT_FRAME_ADDR_LEN should have comment or be unexported (golint)
    • Line 17: warning: exported const FRAME_CHKSUM_LEN should have comment or be unexported (golint)
    • Line 19: warning: exported const SHORT_CMD_TYPE_MSK should have comment or be unexported (golint)
    • Line 20: warning: exported const LONG_CMD_HDR_LENGTH should have comment or be unexported (golint)
    • Line 21: warning: exported const LONG_CMD_BYTE_CNT_OFFSET should have comment or be unexported (golint)
    • Line 22: warning: exported const RSP_HDR_LENGTH should have comment or be unexported (golint)
    • Line 24: warning: exported const FRAME_STD_TYPE should have comment or be unexported (golint)
    • Line 25: warning: exported const FRAME_EXT_TYPE should have comment or be unexported (golint)
    • Line 27: warning: exported const DESTINATION_ADDR_HOST should have comment or be unexported (golint)
    • Line 28: warning: exported const DESTINATION_ADDR_ERG_MASTER should have comment or be unexported (golint)
    • Line 29: warning: exported const DESTINATION_ADDR_BROADCAST should have comment or be unexported (golint)
    • Line 30: warning: exported const DESTINATION_ADDR_ERG_DEFAULT should have comment or be unexported (golint)
    • Line 32: warning: exported const FRAME_MAXSIZE should have comment or be unexported (golint)
    • Line 33: warning: exported const INTERFRAMEGAP_MIN should have comment or be unexported (golint)
    • Line 34: warning: exported const CMDUPLIST_MAXSIZE should have comment or be unexported (golint)
    • Line 35: warning: exported const MEMORY_BLOCKSIZE should have comment or be unexported (golint)
    • Line 36: warning: exported const FORCEPLOT_BLOCKSIZE should have comment or be unexported (golint)
    • Line 37: warning: exported const HEARTBEAT_BLOCKSIZE should have comment or be unexported (golint)
    • Line 39: warning: comment on exported const MANUFACTURE_ID should be of the form "MANUFACTURE_ID ..." (golint)
    • Line 41: warning: exported const CLASS_ID should have comment or be unexported (golint)
    • Line 42: warning: exported const MODEL_NUM should have comment or be unexported (golint)
    • Line 44: warning: exported const UNITS_TYPE should have comment or be unexported (golint)
    • Line 45: warning: exported const SERIALNUM_DIGITS should have comment or be unexported (golint)
    • Line 47: warning: exported const HMS_FORMAT_CNT should have comment or be unexported (golint)
    • Line 48: warning: exported const YMD_FORMAT_CNT should have comment or be unexported (golint)
    • Line 49: warning: exported const ERRORCODE_FORMAT_CNT should have comment or be unexported (golint)
    • Line 51: warning: comment on exported const CTRL_CMD_LONG_MIN should be of the form "CTRL_CMD_LONG_MIN ..." (golint)
    • Line 53: warning: exported const CFG_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 54: warning: exported const DATA_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 55: warning: exported const AUDIO_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 56: warning: exported const TEXTCFG_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 57: warning: exported const TEXTSTATUS_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 58: warning: exported const CAP_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 59: warning: exported const CSAFE_SETPMCFG_CMD should have comment or be unexported (golint)
    • Line 61: warning: exported const CTRL_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 62: warning: exported const STATUS_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 63: warning: exported const DATA_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 64: warning: exported const AUDIO_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 65: warning: exported const TEXTCFG_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 66: warning: exported const TEXTSTATUS_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 68: warning: comment on exported type SHORT_CTRL_CMDS should be of the form "SHORT_CTRL_CMDS ..." (with optional leading article) (golint)
    • Line 72: warning: exported const GETSTATUS_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 84: warning: comment on exported type SHORT_STATUS_CMDS should be of the form "SHORT_STATUS_CMDS ..." (with optional leading article) (golint)
    • Line 88: warning: exported const GETVERSION_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 106: warning: comment on exported type SHORT_DATA_CMDS should be of the form "SHORT_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 110: warning: exported const GETTWORK_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 145: warning: comment on exported type SHORT_AUDIO_CMDS should be of the form "SHORT_AUDIO_CMDS ..." (with optional leading article) (golint)
    • Line 149: warning: exported const GETAUDIOCHANNEL_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 155: warning: comment on exported type SHORT_TEXTCFG_CMDS should be of the form "SHORT_TEXTCFG_CMDS ..." (with optional leading article) (golint)
    • Line 159: warning: exported const ENDTEXT_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 164: warning: comment on exported type SHORT_TEXTSTATUS_CMDS should be of the form "SHORT_TEXTSTATUS_CMDS ..." (with optional leading article) (golint)
    • Line 168: warning: exported const GETPOPUPSTATUS_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 174: warning: comment on exported type LONG_CTRL_CMDS should be of the form "LONG_CTRL_CMDS ..." (with optional leading article) (golint)
    • Line 178: warning: exported const AUTOUPLOAD_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 186: warning: comment on exported type LONG_CFG_CMDS should be of the form "LONG_CFG_CMDS ..." (with optional leading article) (golint)
    • Line 190: warning: exported const IDDIGITS_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 205: warning: comment on exported type LONG_DATA_CMDS should be of the form "LONG_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 209: warning: exported const SETTWORK_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 235: warning: comment on exported type LONG_AUDIO_CMDS should be of the form "LONG_AUDIO_CMDS ..." (with optional leading article) (golint)
    • Line 239: warning: exported const SETCHANNELRANGE_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 247: warning: comment on exported type LONG_TEXTCFG_CMDS should be of the form "LONG_TEXTCFG_CMDS ..." (with optional leading article) (golint)
    • Line 251: warning: exported const STARTTEXT_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 256: warning: comment on exported type LONG_TEXTSTATUS_CMDS should be of the form "LONG_TEXTSTATUS_CMDS ..." (with optional leading article) (golint)
    • Line 260: warning: exported const GETTEXTSTATUS_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 264: warning: comment on exported type LONG_CAP_CMDS should be of the form "LONG_CAP_CMDS ..." (with optional leading article) (golint)
    • Line 267: warning: exported const GETCAPS_CMD should have comment or be unexported (golint)
    • Line 269: warning: exported const GETUSERCAPS1_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 274: warning: comment on exported type LONG_PMPROPRIETARY_CMDS should be of the form "LONG_PMPROPRIETARY_CMDS ..." (with optional leading article) (golint)
    • Line 288: warning: exported const SETPMCFG_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 292: warning: exported const GETPMCFG_CMD should have comment (or a comment on this block) or be unexported (golint)
    • Line 297: warning: comment on exported const GETPMCFG_CMD_SHORT_MIN should be of the form "GETPMCFG_CMD_SHORT_MIN ..." (golint)
    • Line 299: warning: exported const GETPMCFG_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 300: warning: exported const SETPMCFG_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 301: warning: exported const SETPMCFG_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 302: warning: exported const GETPMDATA_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 303: warning: exported const GETPMDATA_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 304: warning: exported const SETPMDATA_CMD_SHORT_MIN should have comment or be unexported (golint)
    • Line 305: warning: exported const SETPMDATA_CMD_LONG_MIN should have comment or be unexported (golint)
    • Line 307: warning: comment on exported type PM_SHORT_PULL_CFG_CMDS should be of the form "PM_SHORT_PULL_CFG_CMDS ..." (with optional leading article) (golint)
    • Line 313: warning: exported const PM_GET_FW_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 348: warning: comment on exported type PM_SHORT_PULL_DATA_CMDS should be of the form "PM_SHORT_PULL_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 354: warning: exported const PM_GET_WORKTIME should have comment (or a comment on this block) or be unexported (golint)
    • Line 405: warning: comment on exported type PM_SHORT_PUSH_DATA_CMDS should be of the form "PM_SHORT_PUSH_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 411: warning: exported const PM_SET_SYNC_DISTANCE should have comment (or a comment on this block) or be unexported (golint)
    • Line 430: warning: comment on exported type PM_SHORT_PUSH_CFG_CMDS should be of the form "PM_SHORT_PUSH_CFG_CMDS ..." (with optional leading article) (golint)
    • Line 436: warning: exported const PM_SET_RESET_ALL should have comment (or a comment on this block) or be unexported (golint)
    • Line 455: warning: comment on exported type PM_LONG_PUSH_CFG_CMDS should be of the form "PM_LONG_PUSH_CFG_CMDS ..." (with optional leading article) (golint)
    • Line 461: warning: exported const PM_SET_BAUDRATE should have comment (or a comment on this block) or be unexported (golint)
    • Line 512: warning: comment on exported type PM_LONG_PUSH_DATA_CMDS should be of the form "PM_LONG_PUSH_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 518: warning: exported const PM_SET_TEAM_DISTANCE should have comment (or a comment on this block) or be unexported (golint)
    • Line 553: warning: comment on exported type PM_LONG_PULL_CFG_CMDS should be of the form "PM_LONG_PULL_CFG_CMDS ..." (with optional leading article) (golint)
    • Line 559: warning: exported const PM_GET_ERGNUMBER should have comment (or a comment on this block) or be unexported (golint)
    • Line 586: warning: comment on exported type PM_LONG_PULL_DATA_CMDS should be of the form "PM_LONG_PULL_DATA_CMDS ..." (with optional leading article) (golint)
    • Line 592: warning: exported const PM_GET_MEMORY should have comment (or a comment on this block) or be unexported (golint)
    • Line 619: warning: comment on exported const PREVOK_FLG should be of the form "PREVOK_FLG ..." (golint)
    • Line 621: warning: exported const PREVREJECT_FLG should have comment or be unexported (golint)
    • Line 622: warning: exported const PREVBAD_FLG should have comment or be unexported (golint)
    • Line 623: warning: exported const PREVNOTRDY_FLG should have comment or be unexported (golint)
    • Line 624: warning: exported const PREVFRAMESTATUS_MSK should have comment or be unexported (golint)
    • Line 626: warning: exported const SLAVESTATE_ERR_FLG should have comment or be unexported (golint)
    • Line 627: warning: exported const SLAVESTATE_RDY_FLG should have comment or be unexported (golint)
    • Line 628: warning: exported const SLAVESTATE_IDLE_FLG should have comment or be unexported (golint)
    • Line 629: warning: exported const SLAVESTATE_HAVEID_FLG should have comment or be unexported (golint)
    • Line 630: warning: exported const SLAVESTATE_INUSE_FLG should have comment or be unexported (golint)
    • Line 631: warning: exported const SLAVESTATE_PAUSE_FLG should have comment or be unexported (golint)
    • Line 632: warning: exported const SLAVESTATE_FINISH_FLG should have comment or be unexported (golint)
    • Line 633: warning: exported const SLAVESTATE_MANUAL_FLG should have comment or be unexported (golint)
    • Line 634: warning: exported const SLAVESTATE_OFFLINE_FLG should have comment or be unexported (golint)
    • Line 636: warning: exported const FRAMECNT_FLG should have comment or be unexported (golint)
    • Line 638: warning: exported const SLAVESTATE_MSK should have comment or be unexported (golint)
    • Line 640: warning: comment on exported const AUTOSTATUS_FLG should be of the form "AUTOSTATUS_FLG ..." (golint)
    • Line 642: warning: exported const UPSTATUS_FLG should have comment or be unexported (golint)
    • Line 643: warning: exported const UPLIST_FLG should have comment or be unexported (golint)
    • Line 644: warning: exported const ACK_FLG should have comment or be unexported (golint)
    • Line 645: warning: exported const EXTERNCONTROL_FLG should have comment or be unexported (golint)
    • Line 647: warning: comment on exported const CAPCODE_PROTOCOL should be of the form "CAPCODE_PROTOCOL ..." (golint)
    • Line 649: warning: exported const CAPCODE_POWER should have comment or be unexported (golint)
    • Line 650: warning: exported const CAPCODE_TEXT should have comment or be unexported (golint)
    • Line 652: warning: comment on exported const DISTANCE_MILE_0_0 should be of the form "DISTANCE_MILE_0_0 ..." (golint)
    • Line 654: warning: exported const DISTANCE_MILE_0_1 should have comment or be unexported (golint)
    • Line 655: warning: exported const DISTANCE_MILE_0_2 should have comment or be unexported (golint)
    • Line 656: warning: exported const DISTANCE_MILE_0_3 should have comment or be unexported (golint)
    • Line 657: warning: exported const DISTANCE_FEET_0_0 should have comment or be unexported (golint)
    • Line 658: warning: exported const DISTANCE_INCH_0_0 should have comment or be unexported (golint)
    • Line 659: warning: exported const WEIGHT_LBS_0_0 should have comment or be unexported (golint)
    • Line 660: warning: exported const WEIGHT_LBS_0_1 should have comment or be unexported (golint)
    • Line 661: warning: exported const DISTANCE_FEET_1_0 should have comment or be unexported (golint)
    • Line 662: warning: exported const SPEED_MILEPERHOUR_0_0 should have comment or be unexported (golint)
    • Line 663: warning: exported const SPEED_MILEPERHOUR_0_1 should have comment or be unexported (golint)
    • Line 664: warning: exported const SPEED_MILEPERHOUR_0_2 should have comment or be unexported (golint)
    • Line 665: warning: exported const SPEED_FEETPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 666: warning: exported const DISTANCE_KM_0_0 should have comment or be unexported (golint)
    • Line 667: warning: exported const DISTANCE_KM_0_1 should have comment or be unexported (golint)
    • Line 668: warning: exported const DISTANCE_KM_0_2 should have comment or be unexported (golint)
    • Line 669: warning: exported const DISTANCE_METER_0_0 should have comment or be unexported (golint)
    • Line 670: warning: exported const DISTANCE_METER_0_1 should have comment or be unexported (golint)
    • Line 671: warning: exported const DISTANCE_CM_0_0 should have comment or be unexported (golint)
    • Line 672: warning: exported const WEIGHT_KG_0_0 should have comment or be unexported (golint)
    • Line 673: warning: exported const WEIGHT_KG_0_1 should have comment or be unexported (golint)
    • Line 674: warning: exported const SPEED_KMPERHOUR_0_0 should have comment or be unexported (golint)
    • Line 675: warning: exported const SPEED_KMPERHOUR_0_1 should have comment or be unexported (golint)
    • Line 676: warning: exported const SPEED_KMPERHOUR_0_2 should have comment or be unexported (golint)
    • Line 677: warning: exported const SPEED_METERPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 678: warning: exported const PACE_MINUTEPERMILE_0_0 should have comment or be unexported (golint)
    • Line 679: warning: exported const PACE_MINUTEPERKM_0_0 should have comment or be unexported (golint)
    • Line 680: warning: exported const PACE_SECONDSPERKM_0_0 should have comment or be unexported (golint)
    • Line 681: warning: exported const PACE_SECONDSPERMILE_0_0 should have comment or be unexported (golint)
    • Line 682: warning: exported const DISTANCE_FLOORS_0_0 should have comment or be unexported (golint)
    • Line 683: warning: exported const DISTANCE_FLOORS_0_1 should have comment or be unexported (golint)
    • Line 684: warning: exported const DISTANCE_STEPS_0_0 should have comment or be unexported (golint)
    • Line 685: warning: exported const DISTANCE_REVS_0_0 should have comment or be unexported (golint)
    • Line 686: warning: exported const DISTANCE_STRIDES_0_0 should have comment or be unexported (golint)
    • Line 687: warning: exported const DISTANCE_STROKES_0_0 should have comment or be unexported (golint)
    • Line 688: warning: exported const MISC_BEATS_0_0 should have comment or be unexported (golint)
    • Line 689: warning: exported const ENERGY_CALORIES_0_0 should have comment or be unexported (golint)
    • Line 690: warning: exported const GRADE_PERCENT_0_0 should have comment or be unexported (golint)
    • Line 691: warning: exported const GRADE_PERCENT_0_2 should have comment or be unexported (golint)
    • Line 692: warning: exported const GRADE_PERCENT_0_1 should have comment or be unexported (golint)
    • Line 693: warning: exported const CADENCE_FLOORSPERMINUTE_0_1 should have comment or be unexported (golint)
    • Line 694: warning: exported const CADENCE_FLOORSPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 695: warning: exported const CADENCE_STEPSPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 696: warning: exported const CADENCE_REVSPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 697: warning: exported const CADENCE_STRIDESPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 698: warning: exported const CADENCE_STROKESPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 699: warning: exported const MISC_BEATSPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 700: warning: exported const BURN_CALORIESPERMINUTE_0_0 should have comment or be unexported (golint)
    • Line 701: warning: exported const BURN_CALORIESPERHOUR_0_0 should have comment or be unexported (golint)
    • Line 702: warning: exported const POWER_WATTS_0_0 should have comment or be unexported (golint)
    • Line 703: warning: exported const ENERGY_INCHLB_0_0 should have comment or be unexported (golint)
    • Line 704: warning: exported const ENERGY_FOOTLB_0_0 should have comment or be unexported (golint)
    • Line 705: warning: exported const ENERGY_NM_0_0 should have comment or be unexported (golint)
    • Line 707: warning: comment on exported const KG_TO_LBS should be of the form "KG_TO_LBS ..." (golint)
    • Line 709: warning: exported const LBS_TO_KG should have comment or be unexported (golint)
    • Line 711: warning: comment on exported const IDDIGITS_MIN should be of the form "IDDIGITS_MIN ..." (golint)
    • Line 713: warning: exported const IDDIGITS_MAX should have comment or be unexported (golint)
    • Line 714: warning: exported const DEFAULT_IDDIGITS should have comment or be unexported (golint)
    • Line 715: warning: exported const DEFAULT_ID should have comment or be unexported (golint)
    • Line 716: warning: exported const MANUAL_ID should have comment or be unexported (golint)
    • Line 718: warning: comment on exported const DEFAULT_SLAVESTATE_TIMEOUT should be of the form "DEFAULT_SLAVESTATE_TIMEOUT ..." (golint)
    • Line 720: warning: exported const PAUSED_SLAVESTATE_TIMEOUT should have comment or be unexported (golint)
    • Line 721: warning: exported const INUSE_SLAVESTATE_TIMEOUT should have comment or be unexported (golint)
    • Line 722: warning: exported const IDLE_SLAVESTATE_TIMEOUT should have comment or be unexported (golint)
    • Line 724: warning: comment on exported const BASE_YEAR should be of the form "BASE_YEAR ..." (golint)
    • Line 727: warning: comment on exported const DEFAULT_STATUSUPDATE_INTERVAL should be of the form "DEFAULT_STATUSUPDATE_INTERVAL ..." (golint)
    • Line 729: warning: exported const DEFAULT_CMDUPLIST_INTERVAL should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!