Preparing report...

Report for github.com/hybridgroup/gobot

A+    Excellent!    Found 86 issues across 623 files

Tweet

gofmt96%

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!


gocyclo98%

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.


golint91%

Golint is a linter for Go source code.

    • gobot/platforms/chip/chip_adaptor.go
    • Line 46: warning: comment on exported function NewProAdaptor should be of the form "NewProAdaptor ..." (golint)
    • Line 145: warning: comment on exported method Adaptor.DigitalPin should be of the form "DigitalPin ..." (golint)
    • Line 170: warning: comment on exported method Adaptor.PWMPin should be of the form "PWMPin ..." (golint)
    • gobot/robot_work.go
    • Line 21: warning: exported const EveryWorkKind should have comment (or a comment on this block) or be unexported (golint)
    • gobot/cli/generate.go
    • Line 22: warning: exported function Generate should have comment or be unexported (golint)
    • Line 154: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • gobot/platforms/parrot/bebop/client/constants.go
    • Line 4: warning: comment on exported const ARNETWORKAL_MANAGER_DEFAULT_ID_MAX should be of the form "ARNETWORKAL_MANAGER_DEFAULT_ID_MAX ..." (golint)
    • Line 7: warning: comment on exported const BD_NET_CD_NONACK_ID should be of the form "BD_NET_CD_NONACK_ID ..." (golint)
    • Line 9: warning: exported const BD_NET_CD_ACK_ID should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: comment on exported const ARCOMMANDS_ID_PROJECT_COMMON should be of the form "ARCOMMANDS_ID_PROJECT_COMMON ..." (golint)
    • Line 20: warning: comment on exported const ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTING should be of the form "ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTING ..." (golint)
    • Line 50: warning: comment on exported const ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLATTRIMCHANGED should be of the form "ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLATTRIMCHANGED ..." (golint)
    • Line 62: warning: comment on exported const ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_FLIP should be of the form "ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_FLIP ..." (golint)
    • Line 66: warning: comment on exported const ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDED should be of the form "ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDED ..." (golint)
    • Line 75: warning: comment on exported const ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_FRONT should be of the form "ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_FRONT ..." (golint)
    • Line 82: warning: comment on exported const ARCOMMANDS_ID_COMMON_CLASS_NETWORK should be of the form "ARCOMMANDS_ID_COMMON_CLASS_NETWORK ..." (golint)
    • Line 104: warning: comment on exported const ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_FLATTRIM should be of the form "ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_FLATTRIM ..." (golint)
    • Line 114: warning: comment on exported const ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTURE should be of the form "ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTURE ..." (golint)
    • Line 121: warning: comment on exported const ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_STOP should be of the form "ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_STOP ..." (golint)
    • Line 126: warning: comment on exported const ARCOMMANDS_ID_COMMON_COMMON_CMD_ALLSTATES should be of the form "ARCOMMANDS_ID_COMMON_COMMON_CMD_ALLSTATES ..." (golint)
    • Line 133: warning: comment on exported const ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_ALLSTATESCHANGED should be of the form "ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_ALLSTATESCHANGED ..." (golint)
    • Line 145: warning: comment on exported const CODEC_UNKNNOWN should be of the form "CODEC_UNKNNOWN ..." (golint)
    • Line 153: warning: comment on exported const ARMEDIA_ENCAPSULER_FRAME_TYPE_UNKNNOWN should be of the form "ARMEDIA_ENCAPSULER_FRAME_TYPE_UNKNNOWN ..." (golint)
    • Line 160: warning: comment on exported const ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PING should be of the form "ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PING ..." (golint)
    • Line 165: warning: comment on exported const ARNETWORKAL_FRAME_TYPE_UNINITIALIZED should be of the form "ARNETWORKAL_FRAME_TYPE_UNINITIALIZED ..." (golint)
    • gobot/drivers/gpio/hd44780_driver.go
    • Line 10: warning: exported const HD44780_CLEARDISPLAY should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported const HD44780_2NDLINEOFFSET should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: comment on exported type HD44780BusMode should be of the form "HD44780BusMode ..." (with optional leading article) (golint)
    • Line 48: warning: exported const HD44780_4BITMODE should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: comment on exported type HD44780DataPin should be of the form "HD44780DataPin ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported method HD44780Driver.Connection should be of the form "Connection ..." (golint)
    • gobot/platforms/mavlink/mavlink_adaptor.go
    • Line 11: warning: comment on exported type BaseAdaptor should be of the form "BaseAdaptor ..." (with optional leading article) (golint)
    • Line 38: warning: exported method Adaptor.Name should have comment or be unexported (golint)
    • Line 39: warning: exported method Adaptor.SetName should have comment or be unexported (golint)
    • Line 40: warning: exported method Adaptor.Port should have comment or be unexported (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 58: warning: exported method Adaptor.ReadMAVLinkPacket should have comment or be unexported (golint)
    • gobot/drivers/i2c/mpl115a2_driver.go
    • Line 13: warning: exported const MPL115A2_REGISTER_PRESSURE_MSB should have comment or be unexported (golint)
    • Line 14: warning: exported const MPL115A2_REGISTER_PRESSURE_LSB should have comment or be unexported (golint)
    • Line 15: warning: exported const MPL115A2_REGISTER_TEMP_MSB should have comment or be unexported (golint)
    • Line 16: warning: exported const MPL115A2_REGISTER_TEMP_LSB should have comment or be unexported (golint)
    • Line 17: warning: exported const MPL115A2_REGISTER_A0_COEFF_MSB should have comment or be unexported (golint)
    • Line 18: warning: exported const MPL115A2_REGISTER_A0_COEFF_LSB should have comment or be unexported (golint)
    • Line 19: warning: exported const MPL115A2_REGISTER_B1_COEFF_MSB should have comment or be unexported (golint)
    • Line 20: warning: exported const MPL115A2_REGISTER_B1_COEFF_LSB should have comment or be unexported (golint)
    • Line 21: warning: exported const MPL115A2_REGISTER_B2_COEFF_MSB should have comment or be unexported (golint)
    • Line 22: warning: exported const MPL115A2_REGISTER_B2_COEFF_LSB should have comment or be unexported (golint)
    • Line 23: warning: exported const MPL115A2_REGISTER_C12_COEFF_MSB should have comment or be unexported (golint)
    • Line 24: warning: exported const MPL115A2_REGISTER_C12_COEFF_LSB should have comment or be unexported (golint)
    • Line 25: warning: exported const MPL115A2_REGISTER_STARTCONVERSION should have comment or be unexported (golint)
    • gobot/drivers/gpio/max7219_driver.go
    • Line 8: warning: exported const MAX7219Digit0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: comment on exported method MAX7219Driver.ClearOne should be of the form "ClearOne ..." (golint)
    • gobot/drivers/i2c/sht2x_driver.go
    • Line 66: warning: comment on exported const SHT2xSoftReset should be of the form "SHT2xSoftReset ..." (golint)
    • Line 140: warning: exported method SHT2xDriver.Accuracy should have comment or be unexported (golint)
    • gobot/platforms/dji/tello/driver.go
    • Line 343: warning: comment on exported method Driver.ThrowTakeOff should be of the form "ThrowTakeOff ..." (golint)
    • Line 990: warning: exported method FlightData.AirSpeed should have comment or be unexported (golint)
    • Line 997: warning: exported method FlightData.GroundSpeed should have comment or be unexported (golint)
    • gobot/platforms/pebble/pebble_adaptor.go
    • Line 3: warning: exported type Adaptor should have comment or be unexported (golint)
    • Line 14: warning: exported method Adaptor.Name should have comment or be unexported (golint)
    • Line 15: warning: exported method Adaptor.SetName should have comment or be unexported (golint)
    • gobot/drivers/gpio/buzzer_driver.go
    • Line 10: warning: exported const Whole should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported const Rest should have comment (or a comment on this block) or be unexported (golint)
    • Line 205: warning: exported method BuzzerDriver.Tone should have comment or be unexported (golint)
    • gobot/drivers/i2c/adafruit_driver.go
    • Line 85: warning: exported const AdafruitForward should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: exported const AdafruitSingle should have comment (or a comment on this block) or be unexported (golint)
    • gobot/sysfs/fs_mock.go
    • Line 35: warning: error var readErr should have name of the form errFoo (golint)
    • Line 36: warning: error var writeErr should have name of the form errFoo (golint)
    • gobot/platforms/particle/adaptor_test.go
    • Line 22: warning: don't use underscores in Go names; func parameter dummy_response should be dummyResponse (golint)
    • Line 23: warning: don't use underscores in Go names; var dummy_data should be dummyData (golint)
    • Line 34: warning: don't use underscores in Go names; func parameter dummy_response should be dummyResponse (golint)
    • Line 35: warning: don't use underscores in Go names; var dummy_data should be dummyData (golint)
    • gobot/platforms/parrot/bebop/client/client.go
    • Line 29: warning: exported type ARStreamACK should have comment or be unexported (golint)
    • Line 35: warning: exported type ARStreamFrame should have comment or be unexported (golint)
    • Line 43: warning: exported function NewARStreamFrame should have comment or be unexported (golint)
    • Line 81: warning: exported type NetworkFrame should have comment or be unexported (golint)
    • Line 89: warning: exported function NewNetworkFrame should have comment or be unexported (golint)
    • Line 148: warning: exported type Pcmd should have comment or be unexported (golint)
    • Line 157: warning: exported type Bebop should have comment or be unexported (golint)
    • Line 175: warning: exported function New should have comment or be unexported (golint)
    • Line 204: warning: exported method Bebop.Discover should have comment or be unexported (golint)
    • Line 243: warning: exported method Bebop.Connect should have comment or be unexported (golint)
    • Line 317: warning: exported method Bebop.FlatTrim should have comment or be unexported (golint)
    • Line 336: warning: exported method Bebop.GenerateAllStates should have comment or be unexported (golint)
    • Line 355: warning: exported method Bebop.TakeOff should have comment or be unexported (golint)
    • Line 374: warning: exported method Bebop.Land should have comment or be unexported (golint)
    • Line 393: warning: exported method Bebop.Up should have comment or be unexported (golint)
    • Line 399: warning: exported method Bebop.Down should have comment or be unexported (golint)
    • Line 405: warning: exported method Bebop.Forward should have comment or be unexported (golint)
    • Line 411: warning: exported method Bebop.Backward should have comment or be unexported (golint)
    • Line 417: warning: exported method Bebop.Right should have comment or be unexported (golint)
    • Line 423: warning: exported method Bebop.Left should have comment or be unexported (golint)
    • Line 429: warning: exported method Bebop.Clockwise should have comment or be unexported (golint)
    • Line 435: warning: exported method Bebop.CounterClockwise should have comment or be unexported (golint)
    • Line 441: warning: exported method Bebop.Stop should have comment or be unexported (golint)
    • Line 565: warning: exported method Bebop.StartRecording should have comment or be unexported (golint)
    • Line 572: warning: exported method Bebop.StopRecording should have comment or be unexported (golint)
    • Line 607: warning: exported method Bebop.Video should have comment or be unexported (golint)
    • Line 611: warning: exported method Bebop.HullProtection should have comment or be unexported (golint)
    • Line 637: warning: exported method Bebop.Outdoor should have comment or be unexported (golint)
    • Line 663: warning: exported method Bebop.VideoEnable should have comment or be unexported (golint)
    • Line 685: warning: exported method Bebop.VideoStreamMode should have comment or be unexported (golint)
    • gobot/platforms/mavlink/mavlink_udp_adaptor.go
    • Line 9: warning: exported type UDPConnection should have comment or be unexported (golint)
    • Line 15: warning: exported type UDPAdaptor should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function NewUDPAdaptor should be of the form "NewUDPAdaptor ..." (golint)
    • Line 32: warning: exported method UDPAdaptor.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method UDPAdaptor.SetName should have comment or be unexported (golint)
    • Line 34: warning: exported method UDPAdaptor.Port should have comment or be unexported (golint)
    • Line 58: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 68: warning: exported method UDPAdaptor.ReadMAVLinkPacket should have comment or be unexported (golint)
    • gobot/drivers/i2c/mma7660_driver.go
    • Line 10: warning: exported const MMA7660_X should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type MMA7660Driver should have comment or be unexported (golint)
    • gobot/sysfs/i2c_device.go
    • Line 11: warning: comment on exported const I2C_SLAVE should be of the form "I2C_SLAVE ..." (golint)
    • Line 14: warning: exported const I2C_FUNCS should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: comment on exported const I2C_SMBUS_READ should be of the form "I2C_SMBUS_READ ..." (golint)
    • Line 20: warning: comment on exported const I2C_FUNC_SMBUS_READ_BYTE should be of the form "I2C_FUNC_SMBUS_READ_BYTE ..." (golint)
    • Line 30: warning: comment on exported const I2C_SMBUS_BYTE should be of the form "I2C_SMBUS_BYTE ..." (golint)
    • gobot/platforms/mavlink/mavlink_driver.go
    • Line 15: warning: comment on exported const ErrorIOEvent should be of the form "ErrorIOEvent ..." (golint)
    • Line 21: warning: exported type Driver should have comment or be unexported (golint)
    • Line 28: warning: exported type MavlinkInterface should have comment or be unexported (golint)
    • Line 56: warning: exported method Driver.Connection should have comment or be unexported (golint)
    • Line 57: warning: exported method Driver.Name should have comment or be unexported (golint)
    • Line 58: warning: exported method Driver.SetName should have comment or be unexported (golint)
    • gobot/drivers/gpio/tm1638_driver.go
    • Line 12: warning: exported const TM1638None should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported const TM1638DataCmd should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type TM1638Driver should have comment or be unexported (golint)
    • gobot/drivers/i2c/mpu6050_driver.go
    • Line 13: warning: exported const MPU6050_RA_ACCEL_XOUT_H should have comment or be unexported (golint)
    • Line 14: warning: exported const MPU6050_RA_PWR_MGMT_1 should have comment or be unexported (golint)
    • Line 15: warning: exported const MPU6050_PWR1_CLKSEL_BIT should have comment or be unexported (golint)
    • Line 16: warning: exported const MPU6050_PWR1_CLKSEL_LENGTH should have comment or be unexported (golint)
    • Line 17: warning: exported const MPU6050_CLOCK_PLL_XGYRO should have comment or be unexported (golint)
    • Line 18: warning: exported const MPU6050_GYRO_FS_250 should have comment or be unexported (golint)
    • Line 19: warning: exported const MPU6050_RA_GYRO_CONFIG should have comment or be unexported (golint)
    • Line 20: warning: exported const MPU6050_GCONFIG_FS_SEL_LENGTH should have comment or be unexported (golint)
    • Line 21: warning: exported const MPU6050_GCONFIG_FS_SEL_BIT should have comment or be unexported (golint)
    • Line 22: warning: exported const MPU6050_RA_ACCEL_CONFIG should have comment or be unexported (golint)
    • Line 23: warning: exported const MPU6050_ACONFIG_AFS_SEL_BIT should have comment or be unexported (golint)
    • Line 24: warning: exported const MPU6050_ACONFIG_AFS_SEL_LENGTH should have comment or be unexported (golint)
    • Line 25: warning: exported const MPU6050_ACCEL_FS_2 should have comment or be unexported (golint)
    • Line 26: warning: exported const MPU6050_PWR1_SLEEP_BIT should have comment or be unexported (golint)
    • Line 27: warning: exported const MPU6050_PWR1_ENABLE_BIT should have comment or be unexported (golint)
    • Line 29: warning: exported type ThreeDData should have comment or be unexported (golint)
    • gobot/drivers/i2c/adxl345_driver.go
    • Line 10: warning: exported const ADXL345AddressLow should have comment or be unexported (golint)
    • Line 11: warning: exported const ADXL345AddressHigh should have comment or be unexported (golint)
    • Line 14: warning: comment on exported const ADXL345_RATE_3200HZ should be of the form "ADXL345_RATE_3200HZ ..." (golint)
    • Line 16: warning: exported const ADXL345_RATE_1600HZ should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: comment on exported const ADXL345_RANGE_2G should be of the form "ADXL345_RANGE_2G ..." (golint)
    • Line 208: warning: comment on exported method ADXL345Driver.RawXYZ should be of the form "RawXYZ ..." (golint)
    • Line 240: warning: comment on exported method ADXL345Driver.UseLowPower should be of the form "UseLowPower ..." (golint)
    • gobot/platforms/pebble/pebble_driver.go
    • Line 7: warning: exported type Driver should have comment or be unexported (golint)
    • Line 53: warning: exported method Driver.Name should have comment or be unexported (golint)
    • Line 54: warning: exported method Driver.SetName should have comment or be unexported (golint)
    • Line 55: warning: exported method Driver.Connection should have comment or be unexported (golint)
    • Line 74: warning: comment on exported method Driver.PendingMessage should be of the form "PendingMessage ..." (golint)
    • gobot/platforms/mavlink/common/common.go
    • Line 637: warning: comment on exported type Heartbeat should be of the form "Heartbeat ..." (with optional leading article) (golint)
    • Line 706: warning: comment on exported type SysStatus should be of the form "SysStatus ..." (with optional leading article) (golint)
    • Line 803: warning: comment on exported type SystemTime should be of the form "SystemTime ..." (with optional leading article) (golint)
    • Line 856: warning: comment on exported type Ping should be of the form "Ping ..." (with optional leading article) (golint)
    • Line 917: warning: comment on exported type ChangeOperatorControl should be of the form "ChangeOperatorControl ..." (with optional leading article) (golint)
    • Line 979: warning: don't use underscores in Go names; const MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_passkey_LEN should be MAVLINKMSGCHANGEOPERATORCONTROLFIELDPasskeyLEN (golint)
    • Line 979: warning: exported const MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_passkey_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 982: warning: comment on exported type ChangeOperatorControlAck should be of the form "ChangeOperatorControlAck ..." (with optional leading article) (golint)
    • Line 1039: warning: comment on exported type AuthKey should be of the form "AuthKey ..." (with optional leading article) (golint)
    • Line 1089: warning: don't use underscores in Go names; const MAVLINK_MSG_AUTH_KEY_FIELD_key_LEN should be MAVLINKMSGAUTHKEYFIELDKeyLEN (golint)
    • Line 1089: warning: exported const MAVLINK_MSG_AUTH_KEY_FIELD_key_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1092: warning: comment on exported type SetMode should be of the form "SetMode ..." (with optional leading article) (golint)
    • Line 1149: warning: comment on exported type ParamRequestRead should be of the form "ParamRequestRead ..." (with optional leading article) (golint)
    • Line 1211: warning: don't use underscores in Go names; const MAVLINK_MSG_PARAM_REQUEST_READ_FIELD_param_id_LEN should be MAVLINKMSGPARAMREQUESTREADFIELDParamIDLEN (golint)
    • Line 1211: warning: exported const MAVLINK_MSG_PARAM_REQUEST_READ_FIELD_param_id_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1214: warning: comment on exported type ParamRequestList should be of the form "ParamRequestList ..." (with optional leading article) (golint)
    • Line 1267: warning: comment on exported type ParamValue should be of the form "ParamValue ..." (with optional leading article) (golint)
    • Line 1333: warning: don't use underscores in Go names; const MAVLINK_MSG_PARAM_VALUE_FIELD_param_id_LEN should be MAVLINKMSGPARAMVALUEFIELDParamIDLEN (golint)
    • Line 1333: warning: exported const MAVLINK_MSG_PARAM_VALUE_FIELD_param_id_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1336: warning: comment on exported type ParamSet should be of the form "ParamSet ..." (with optional leading article) (golint)
    • Line 1402: warning: don't use underscores in Go names; const MAVLINK_MSG_PARAM_SET_FIELD_param_id_LEN should be MAVLINKMSGPARAMSETFIELDParamIDLEN (golint)
    • Line 1402: warning: exported const MAVLINK_MSG_PARAM_SET_FIELD_param_id_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1405: warning: comment on exported type GpsRawInt should be of the form "GpsRawInt ..." (with optional leading article) (golint)
    • Line 1490: warning: comment on exported type GpsStatus should be of the form "GpsStatus ..." (with optional leading article) (golint)
    • Line 1560: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_prn_LEN should be MAVLINKMSGGPSSTATUSFIELDSatellitePrnLEN (golint)
    • Line 1560: warning: exported const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_prn_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 1561: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_used_LEN should be MAVLINKMSGGPSSTATUSFIELDSatelliteUsedLEN (golint)
    • Line 1562: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_elevation_LEN should be MAVLINKMSGGPSSTATUSFIELDSatelliteElevationLEN (golint)
    • Line 1563: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_azimuth_LEN should be MAVLINKMSGGPSSTATUSFIELDSatelliteAzimuthLEN (golint)
    • Line 1564: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_STATUS_FIELD_satellite_snr_LEN should be MAVLINKMSGGPSSTATUSFIELDSatelliteSnrLEN (golint)
    • Line 1567: warning: comment on exported type ScaledImu should be of the form "ScaledImu ..." (with optional leading article) (golint)
    • Line 1652: warning: comment on exported type RawImu should be of the form "RawImu ..." (with optional leading article) (golint)
    • Line 1737: warning: comment on exported type RawPressure should be of the form "RawPressure ..." (with optional leading article) (golint)
    • Line 1802: warning: comment on exported type ScaledPressure should be of the form "ScaledPressure ..." (with optional leading article) (golint)
    • Line 1863: warning: comment on exported type Attitude should be of the form "Attitude ..." (with optional leading article) (golint)
    • Line 1936: warning: comment on exported type AttitudeQuaternion should be of the form "AttitudeQuaternion ..." (with optional leading article) (golint)
    • Line 2013: warning: comment on exported type LocalPositionNed should be of the form "LocalPositionNed ..." (with optional leading article) (golint)
    • Line 2086: warning: comment on exported type GlobalPositionInt should be of the form "GlobalPositionInt ..." (with optional leading article) (golint)
    • Line 2167: warning: comment on exported type RcChannelsScaled should be of the form "RcChannelsScaled ..." (with optional leading article) (golint)
    • Line 2256: warning: comment on exported type RcChannelsRaw should be of the form "RcChannelsRaw ..." (with optional leading article) (golint)
    • Line 2345: warning: comment on exported type ServoOutputRaw should be of the form "ServoOutputRaw ..." (with optional leading article) (golint)
    • Line 2430: warning: comment on exported type MissionRequestPartialList should be of the form "MissionRequestPartialList ..." (with optional leading article) (golint)
    • Line 2491: warning: comment on exported type MissionWritePartialList should be of the form "MissionWritePartialList ..." (with optional leading article) (golint)
    • Line 2552: warning: comment on exported type MissionItem should be of the form "MissionItem ..." (with optional leading article) (golint)
    • Line 2653: warning: comment on exported type MissionRequest should be of the form "MissionRequest ..." (with optional leading article) (golint)
    • Line 2710: warning: comment on exported type MissionSetCurrent should be of the form "MissionSetCurrent ..." (with optional leading article) (golint)
    • Line 2767: warning: comment on exported type MissionCurrent should be of the form "MissionCurrent ..." (with optional leading article) (golint)
    • Line 2816: warning: comment on exported type MissionRequestList should be of the form "MissionRequestList ..." (with optional leading article) (golint)
    • Line 2869: warning: comment on exported type MissionCount should be of the form "MissionCount ..." (with optional leading article) (golint)
    • Line 2926: warning: comment on exported type MissionClearAll should be of the form "MissionClearAll ..." (with optional leading article) (golint)
    • Line 2979: warning: comment on exported type MissionItemReached should be of the form "MissionItemReached ..." (with optional leading article) (golint)
    • Line 3028: warning: comment on exported type MissionAck should be of the form "MissionAck ..." (with optional leading article) (golint)
    • Line 3085: warning: comment on exported type SetGpsGlobalOrigin should be of the form "SetGpsGlobalOrigin ..." (with optional leading article) (golint)
    • Line 3146: warning: comment on exported type GpsGlobalOrigin should be of the form "GpsGlobalOrigin ..." (with optional leading article) (golint)
    • Line 3203: warning: comment on exported type SetLocalPositionSetpoint should be of the form "SetLocalPositionSetpoint ..." (with optional leading article) (golint)
    • Line 3276: warning: comment on exported type LocalPositionSetpoint should be of the form "LocalPositionSetpoint ..." (with optional leading article) (golint)
    • Line 3341: warning: comment on exported type GlobalPositionSetpointInt should be of the form "GlobalPositionSetpointInt ..." (with optional leading article) (golint)
    • Line 3406: warning: comment on exported type SetGlobalPositionSetpointInt should be of the form "SetGlobalPositionSetpointInt ..." (with optional leading article) (golint)
    • Line 3471: warning: comment on exported type SafetySetAllowedArea should be of the form "SafetySetAllowedArea ..." (with optional leading article) (golint)
    • Line 3552: warning: comment on exported type SafetyAllowedArea should be of the form "SafetyAllowedArea ..." (with optional leading article) (golint)
    • Line 3625: warning: comment on exported type SetRollPitchYawThrust should be of the form "SetRollPitchYawThrust ..." (with optional leading article) (golint)
    • Line 3694: warning: comment on exported type SetRollPitchYawSpeedThrust should be of the form "SetRollPitchYawSpeedThrust ..." (with optional leading article) (golint)
    • Line 3763: warning: comment on exported type RollPitchYawThrustSetpoint should be of the form "RollPitchYawThrustSetpoint ..." (with optional leading article) (golint)
    • Line 3828: warning: comment on exported type RollPitchYawSpeedThrustSetpoint should be of the form "RollPitchYawSpeedThrustSetpoint ..." (with optional leading article) (golint)
    • Line 3893: warning: comment on exported type SetQuadMotorsSetpoint should be of the form "SetQuadMotorsSetpoint ..." (with optional leading article) (golint)
    • Line 3958: warning: comment on exported type SetQuadSwarmRollPitchYawThrust should be of the form "SetQuadSwarmRollPitchYawThrust ..." (with optional leading article) (golint)
    • Line 4028: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN should be MAVLINKMSGSETQUADSWARMROLLPITCHYAWTHRUSTFIELDRollLEN (golint)
    • Line 4028: warning: exported const MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 4029: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN should be MAVLINKMSGSETQUADSWARMROLLPITCHYAWTHRUSTFIELDPitchLEN (golint)
    • Line 4030: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN should be MAVLINKMSGSETQUADSWARMROLLPITCHYAWTHRUSTFIELDYawLEN (golint)
    • Line 4031: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN should be MAVLINKMSGSETQUADSWARMROLLPITCHYAWTHRUSTFIELDThrustLEN (golint)
    • Line 4034: warning: comment on exported type NavControllerOutput should be of the form "NavControllerOutput ..." (with optional leading article) (golint)
    • Line 4111: warning: comment on exported type SetQuadSwarmLedRollPitchYawThrust should be of the form "SetQuadSwarmLedRollPitchYawThrust ..." (with optional leading article) (golint)
    • Line 4193: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDRollLEN (golint)
    • Line 4193: warning: exported const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 4194: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDPitchLEN (golint)
    • Line 4195: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDYawLEN (golint)
    • Line 4196: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDThrustLEN (golint)
    • Line 4197: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_red_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDLedRedLEN (golint)
    • Line 4198: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_blue_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDLedBlueLEN (golint)
    • Line 4199: warning: don't use underscores in Go names; const MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_green_LEN should be MAVLINKMSGSETQUADSWARMLEDROLLPITCHYAWTHRUSTFIELDLedGreenLEN (golint)
    • Line 4202: warning: comment on exported type StateCorrection should be of the form "StateCorrection ..." (with optional leading article) (golint)
    • Line 4283: warning: comment on exported type RcChannels should be of the form "RcChannels ..." (with optional leading article) (golint)
    • Line 4412: warning: comment on exported type RequestDataStream should be of the form "RequestDataStream ..." (with optional leading article) (golint)
    • Line 4477: warning: comment on exported type DataStream should be of the form "DataStream ..." (with optional leading article) (golint)
    • Line 4534: warning: comment on exported type ManualControl should be of the form "ManualControl ..." (with optional leading article) (golint)
    • Line 4603: warning: comment on exported type RcChannelsOverride should be of the form "RcChannelsOverride ..." (with optional leading article) (golint)
    • Line 4688: warning: comment on exported type VfrHud should be of the form "VfrHud ..." (with optional leading article) (golint)
    • Line 4757: warning: comment on exported type CommandLong should be of the form "CommandLong ..." (with optional leading article) (golint)
    • Line 4846: warning: comment on exported type CommandAck should be of the form "CommandAck ..." (with optional leading article) (golint)
    • Line 4899: warning: comment on exported type RollPitchYawRatesThrustSetpoint should be of the form "RollPitchYawRatesThrustSetpoint ..." (with optional leading article) (golint)
    • Line 4964: warning: comment on exported type ManualSetpoint should be of the form "ManualSetpoint ..." (with optional leading article) (golint)
    • Line 5037: warning: comment on exported type AttitudeSetpointExternal should be of the form "AttitudeSetpointExternal ..." (with optional leading article) (golint)
    • Line 5119: warning: don't use underscores in Go names; const MAVLINK_MSG_ATTITUDE_SETPOINT_EXTERNAL_FIELD_q_LEN should be MAVLINKMSGATTITUDESETPOINTEXTERNALFIELDQLEN (golint)
    • Line 5119: warning: exported const MAVLINK_MSG_ATTITUDE_SETPOINT_EXTERNAL_FIELD_q_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 5122: warning: comment on exported type LocalNedPositionSetpointExternal should be of the form "LocalNedPositionSetpointExternal ..." (with optional leading article) (golint)
    • Line 5223: warning: comment on exported type GlobalPositionSetpointExternalInt should be of the form "GlobalPositionSetpointExternalInt ..." (with optional leading article) (golint)
    • Line 5320: warning: comment on exported type LocalPositionNedSystemGlobalOffset should be of the form "LocalPositionNedSystemGlobalOffset ..." (with optional leading article) (golint)
    • Line 5393: warning: comment on exported type HilState should be of the form "HilState ..." (with optional leading article) (golint)
    • Line 5502: warning: comment on exported type HilControls should be of the form "HilControls ..." (with optional leading article) (golint)
    • Line 5591: warning: comment on exported type HilRcInputsRaw should be of the form "HilRcInputsRaw ..." (with optional leading article) (golint)
    • Line 5692: warning: comment on exported type OpticalFlow should be of the form "OpticalFlow ..." (with optional leading article) (golint)
    • Line 5769: warning: comment on exported type GlobalVisionPositionEstimate should be of the form "GlobalVisionPositionEstimate ..." (with optional leading article) (golint)
    • Line 5842: warning: comment on exported type VisionPositionEstimate should be of the form "VisionPositionEstimate ..." (with optional leading article) (golint)
    • Line 5915: warning: comment on exported type VisionSpeedEstimate should be of the form "VisionSpeedEstimate ..." (with optional leading article) (golint)
    • Line 5976: warning: comment on exported type ViconPositionEstimate should be of the form "ViconPositionEstimate ..." (with optional leading article) (golint)
    • Line 6049: warning: comment on exported type HighresImu should be of the form "HighresImu ..." (with optional leading article) (golint)
    • Line 6154: warning: comment on exported type OmnidirectionalFlow should be of the form "OmnidirectionalFlow ..." (with optional leading article) (golint)
    • Line 6224: warning: don't use underscores in Go names; const MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_left_LEN should be MAVLINKMSGOMNIDIRECTIONALFLOWFIELDLeftLEN (golint)
    • Line 6224: warning: exported const MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_left_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 6225: warning: don't use underscores in Go names; const MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_right_LEN should be MAVLINKMSGOMNIDIRECTIONALFLOWFIELDRightLEN (golint)
    • Line 6228: warning: comment on exported type HilSensor should be of the form "HilSensor ..." (with optional leading article) (golint)
    • Line 6333: warning: comment on exported type SimState should be of the form "SimState ..." (with optional leading article) (golint)
    • Line 6462: warning: comment on exported type RadioStatus should be of the form "RadioStatus ..." (with optional leading article) (golint)
    • Line 6535: warning: comment on exported type FileTransferStart should be of the form "FileTransferStart ..." (with optional leading article) (golint)
    • Line 6601: warning: don't use underscores in Go names; const MAVLINK_MSG_FILE_TRANSFER_START_FIELD_dest_path_LEN should be MAVLINKMSGFILETRANSFERSTARTFIELDDestPathLEN (golint)
    • Line 6601: warning: exported const MAVLINK_MSG_FILE_TRANSFER_START_FIELD_dest_path_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 6604: warning: comment on exported type FileTransferDirList should be of the form "FileTransferDirList ..." (with optional leading article) (golint)
    • Line 6662: warning: don't use underscores in Go names; const MAVLINK_MSG_FILE_TRANSFER_DIR_LIST_FIELD_dir_path_LEN should be MAVLINKMSGFILETRANSFERDIRLISTFIELDDirPathLEN (golint)
    • Line 6662: warning: exported const MAVLINK_MSG_FILE_TRANSFER_DIR_LIST_FIELD_dir_path_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 6665: warning: comment on exported type FileTransferRes should be of the form "FileTransferRes ..." (with optional leading article) (golint)
    • Line 6718: warning: comment on exported type HilGps should be of the form "HilGps ..." (with optional leading article) (golint)
    • Line 6815: warning: comment on exported type HilOpticalFlow should be of the form "HilOpticalFlow ..." (with optional leading article) (golint)
    • Line 6892: warning: comment on exported type HilStateQuaternion should be of the form "HilStateQuaternion ..." (with optional leading article) (golint)
    • Line 7002: warning: don't use underscores in Go names; const MAVLINK_MSG_HIL_STATE_QUATERNION_FIELD_attitude_quaternion_LEN should be MAVLINKMSGHILSTATEQUATERNIONFIELDAttitudeQuaternionLEN (golint)
    • Line 7002: warning: exported const MAVLINK_MSG_HIL_STATE_QUATERNION_FIELD_attitude_quaternion_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 7005: warning: comment on exported type ScaledImu2 should be of the form "ScaledImu2 ..." (with optional leading article) (golint)
    • Line 7090: warning: comment on exported type LogRequestList should be of the form "LogRequestList ..." (with optional leading article) (golint)
    • Line 7151: warning: comment on exported type LogEntry should be of the form "LogEntry ..." (with optional leading article) (golint)
    • Line 7216: warning: comment on exported type LogRequestData should be of the form "LogRequestData ..." (with optional leading article) (golint)
    • Line 7281: warning: comment on exported type LogData should be of the form "LogData ..." (with optional leading article) (golint)
    • Line 7343: warning: don't use underscores in Go names; const MAVLINK_MSG_LOG_DATA_FIELD_data_LEN should be MAVLINKMSGLOGDATAFIELDDataLEN (golint)
    • Line 7343: warning: exported const MAVLINK_MSG_LOG_DATA_FIELD_data_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 7346: warning: comment on exported type LogErase should be of the form "LogErase ..." (with optional leading article) (golint)
    • Line 7399: warning: comment on exported type LogRequestEnd should be of the form "LogRequestEnd ..." (with optional leading article) (golint)
    • Line 7452: warning: comment on exported type GpsInjectData should be of the form "GpsInjectData ..." (with optional leading article) (golint)
    • Line 7514: warning: don't use underscores in Go names; const MAVLINK_MSG_GPS_INJECT_DATA_FIELD_data_LEN should be MAVLINKMSGGPSINJECTDATAFIELDDataLEN (golint)
    • Line 7514: warning: exported const MAVLINK_MSG_GPS_INJECT_DATA_FIELD_data_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 7517: warning: comment on exported type Gps2Raw should be of the form "Gps2Raw ..." (with optional leading article) (golint)
    • Line 7610: warning: comment on exported type PowerStatus should be of the form "PowerStatus ..." (with optional leading article) (golint)
    • Line 7667: warning: comment on exported type SerialControl should be of the form "SerialControl ..." (with optional leading article) (golint)
    • Line 7737: warning: don't use underscores in Go names; const MAVLINK_MSG_SERIAL_CONTROL_FIELD_data_LEN should be MAVLINKMSGSERIALCONTROLFIELDDataLEN (golint)
    • Line 7737: warning: exported const MAVLINK_MSG_SERIAL_CONTROL_FIELD_data_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 7740: warning: comment on exported type GpsRtk should be of the form "GpsRtk ..." (with optional leading article) (golint)
    • Line 7837: warning: comment on exported type Gps2Rtk should be of the form "Gps2Rtk ..." (with optional leading article) (golint)
    • Line 7934: warning: comment on exported type DataTransmissionHandshake should be of the form "DataTransmissionHandshake ..." (with optional leading article) (golint)
    • Line 8007: warning: comment on exported type EncapsulatedData should be of the form "EncapsulatedData ..." (with optional leading article) (golint)
    • Line 8061: warning: don't use underscores in Go names; const MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_data_LEN should be MAVLINKMSGENCAPSULATEDDATAFIELDDataLEN (golint)
    • Line 8061: warning: exported const MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_data_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8064: warning: comment on exported type DistanceSensor should be of the form "DistanceSensor ..." (with optional leading article) (golint)
    • Line 8141: warning: comment on exported type TerrainRequest should be of the form "TerrainRequest ..." (with optional leading article) (golint)
    • Line 8202: warning: comment on exported type TerrainData should be of the form "TerrainData ..." (with optional leading article) (golint)
    • Line 8268: warning: don't use underscores in Go names; const MAVLINK_MSG_TERRAIN_DATA_FIELD_data_LEN should be MAVLINKMSGTERRAINDATAFIELDDataLEN (golint)
    • Line 8268: warning: exported const MAVLINK_MSG_TERRAIN_DATA_FIELD_data_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8271: warning: comment on exported type TerrainCheck should be of the form "TerrainCheck ..." (with optional leading article) (golint)
    • Line 8324: warning: comment on exported type TerrainReport should be of the form "TerrainReport ..." (with optional leading article) (golint)
    • Line 8397: warning: comment on exported type BatteryStatus should be of the form "BatteryStatus ..." (with optional leading article) (golint)
    • Line 8486: warning: comment on exported type Setpoint8Dof should be of the form "Setpoint8Dof ..." (with optional leading article) (golint)
    • Line 8567: warning: comment on exported type Setpoint6Dof should be of the form "Setpoint6Dof ..." (with optional leading article) (golint)
    • Line 8640: warning: comment on exported type MemoryVect should be of the form "MemoryVect ..." (with optional leading article) (golint)
    • Line 8702: warning: don't use underscores in Go names; const MAVLINK_MSG_MEMORY_VECT_FIELD_value_LEN should be MAVLINKMSGMEMORYVECTFIELDValueLEN (golint)
    • Line 8702: warning: exported const MAVLINK_MSG_MEMORY_VECT_FIELD_value_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8705: warning: comment on exported type DebugVect should be of the form "DebugVect ..." (with optional leading article) (golint)
    • Line 8771: warning: don't use underscores in Go names; const MAVLINK_MSG_DEBUG_VECT_FIELD_name_LEN should be MAVLINKMSGDEBUGVECTFIELDNameLEN (golint)
    • Line 8771: warning: exported const MAVLINK_MSG_DEBUG_VECT_FIELD_name_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8774: warning: comment on exported type NamedValueFloat should be of the form "NamedValueFloat ..." (with optional leading article) (golint)
    • Line 8832: warning: don't use underscores in Go names; const MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_name_LEN should be MAVLINKMSGNAMEDVALUEFLOATFIELDNameLEN (golint)
    • Line 8832: warning: exported const MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_name_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8835: warning: comment on exported type NamedValueInt should be of the form "NamedValueInt ..." (with optional leading article) (golint)
    • Line 8893: warning: don't use underscores in Go names; const MAVLINK_MSG_NAMED_VALUE_INT_FIELD_name_LEN should be MAVLINKMSGNAMEDVALUEINTFIELDNameLEN (golint)
    • Line 8893: warning: exported const MAVLINK_MSG_NAMED_VALUE_INT_FIELD_name_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8896: warning: comment on exported type Statustext should be of the form "Statustext ..." (with optional leading article) (golint)
    • Line 8950: warning: don't use underscores in Go names; const MAVLINK_MSG_STATUSTEXT_FIELD_text_LEN should be MAVLINKMSGSTATUSTEXTFIELDTextLEN (golint)
    • Line 8950: warning: exported const MAVLINK_MSG_STATUSTEXT_FIELD_text_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 8953: warning: comment on exported type Debug should be of the form "Debug ..." (with optional leading article) (golint)
    • gobot/sysfs/pwm_pin.go
    • Line 12: warning: comment on exported type PWMPinner should be of the form "PWMPinner ..." (with optional leading article) (golint)
    • Line 40: warning: exported type PWMPin should have comment or be unexported (golint)
    • Line 48: warning: comment on exported function NewPWMPin should be of the form "NewPWMPin ..." (golint)
    • gobot/platforms/keyboard/keyboard.go
    • Line 18: warning: exported const Tilde should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported const Escape should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported const Zero should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: exported const ArrowUp should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported function Parse should have comment or be unexported (golint)
    • gobot/platforms/sphero/ollie/ollie_driver.go
    • Line 51: warning: comment on exported const PacketHeaderSize should be of the form "PacketHeaderSize ..." (golint)
    • Line 54: warning: comment on exported const ResponsePacketMaxSize should be of the form "ResponsePacketMaxSize ..." (golint)
    • Line 57: warning: comment on exported const CollisionDataSize should be of the form "CollisionDataSize ..." (golint)
    • Line 60: warning: comment on exported const CollisionResponseSize should be of the form "CollisionResponseSize ..." (golint)
    • gobot/drivers/i2c/i2c.go
    • Line 23: warning: exported var ErrEncryptedBytes should have comment or be unexported (golint)
    • Line 29: warning: exported type I2cOperations should have comment or be unexported (golint)
    • gobot/platforms/dexter/gopigo3/driver.go
    • Line 68: warning: exported const WHEEL_BASE_WIDTH should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: exported const GROVE_INPUT_DIGITAL should have comment (or a comment on this block) or be unexported (golint)
    • Line 97: warning: exported const SERVO_1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 105: warning: exported const MOTOR_LEFT should have comment (or a comment on this block) or be unexported (golint)
    • Line 113: warning: exported const LED_EYE_RIGHT should have comment (or a comment on this block) or be unexported (golint)
    • Line 124: warning: exported const AD11 should have comment (or a comment on this block) or be unexported (golint)
    • Line 140: warning: exported const CUSTOM should have comment (or a comment on this block) or be unexported (golint)
    • Line 151: warning: exported const VALID_DATA should have comment (or a comment on this block) or be unexported (golint)
    • gobot/platforms/joystick/events.go
    • Line 4: warning: comment on exported const LeftX should be of the form "LeftX ..." (golint)
    • Line 6: warning: comment on exported const LeftY should be of the form "LeftY ..." (golint)
    • Line 8: warning: comment on exported const RightX should be of the form "RightX ..." (golint)
    • Line 10: warning: comment on exported const RightY should be of the form "RightY ..." (golint)
    • Line 14: warning: comment on exported const L1Press should be of the form "L1Press ..." (golint)
    • Line 16: warning: comment on exported const L1Release should be of the form "L1Release ..." (golint)
    • Line 20: warning: comment on exported const L2Press should be of the form "L2Press ..." (golint)
    • Line 22: warning: comment on exported const L2Release should be of the form "L2Release ..." (golint)
    • Line 24: warning: comment on exported const L3Press should be of the form "L3Press ..." (golint)
    • Line 26: warning: comment on exported const L3Release should be of the form "L3Release ..." (golint)
    • Line 30: warning: comment on exported const R1Press should be of the form "R1Press ..." (golint)
    • Line 32: warning: comment on exported const R1Release should be of the form "R1Release ..." (golint)
    • Line 36: warning: comment on exported const R2Press should be of the form "R2Press ..." (golint)
    • Line 38: warning: comment on exported const R2Release should be of the form "R2Release ..." (golint)
    • Line 40: warning: comment on exported const R3Press should be of the form "R3Press ..." (golint)
    • Line 42: warning: comment on exported const R3Release should be of the form "R3Release ..." (golint)
    • Line 44: warning: comment on exported const UpPress should be of the form "UpPress ..." (golint)
    • Line 46: warning: comment on exported const UpRelease should be of the form "UpRelease ..." (golint)
    • Line 48: warning: comment on exported const DownPress should be of the form "DownPress ..." (golint)
    • Line 50: warning: comment on exported const DownRelease should be of the form "DownRelease ..." (golint)
    • Line 52: warning: comment on exported const LeftPress should be of the form "LeftPress ..." (golint)
    • Line 54: warning: comment on exported const LeftRelease should be of the form "LeftRelease ..." (golint)
    • Line 56: warning: comment on exported const RightPress should be of the form "RightPress ..." (golint)
    • Line 58: warning: comment on exported const RightRelease should be of the form "RightRelease ..." (golint)
    • Line 60: warning: comment on exported const SquarePress should be of the form "SquarePress ..." (golint)
    • Line 62: warning: comment on exported const SquareRelease should be of the form "SquareRelease ..." (golint)
    • Line 64: warning: comment on exported const CirclePress should be of the form "CirclePress ..." (golint)
    • Line 66: warning: comment on exported const CircleRelease should be of the form "CircleRelease ..." (golint)
    • Line 68: warning: comment on exported const TrianglePress should be of the form "TrianglePress ..." (golint)
    • Line 70: warning: comment on exported const TriangleRelease should be of the form "TriangleRelease ..." (golint)
    • Line 72: warning: comment on exported const XPress should be of the form "XPress ..." (golint)
    • Line 74: warning: comment on exported const XRelease should be of the form "XRelease ..." (golint)
    • Line 76: warning: comment on exported const SharePress should be of the form "SharePress ..." (golint)
    • Line 78: warning: comment on exported const ShareRelease should be of the form "ShareRelease ..." (golint)
    • Line 80: warning: comment on exported const OptionsPress should be of the form "OptionsPress ..." (golint)
    • Line 82: warning: comment on exported const OptionsRelease should be of the form "OptionsRelease ..." (golint)
    • Line 84: warning: comment on exported const HomePress should be of the form "HomePress ..." (golint)
    • Line 86: warning: comment on exported const HomeRelease should be of the form "HomeRelease ..." (golint)
    • Line 88: warning: comment on exported const StartPress should be of the form "StartPress ..." (golint)
    • Line 90: warning: comment on exported const StartRelease should be of the form "StartRelease ..." (golint)
    • Line 92: warning: comment on exported const SelectPress should be of the form "SelectPress ..." (golint)
    • Line 94: warning: comment on exported const SelectRelease should be of the form "SelectRelease ..." (golint)
    • Line 96: warning: comment on exported const RTPress should be of the form "RTPress ..." (golint)
    • Line 98: warning: comment on exported const RTRelease should be of the form "RTRelease ..." (golint)
    • Line 100: warning: comment on exported const LTPress should be of the form "LTPress ..." (golint)
    • Line 102: warning: comment on exported const LTRelease should be of the form "LTRelease ..." (golint)
    • Line 104: warning: comment on exported const YPress should be of the form "YPress ..." (golint)
    • Line 106: warning: comment on exported const YRelease should be of the form "YRelease ..." (golint)
    • Line 108: warning: comment on exported const APress should be of the form "APress ..." (golint)
    • Line 110: warning: comment on exported const ARelease should be of the form "ARelease ..." (golint)
    • Line 112: warning: comment on exported const BPress should be of the form "BPress ..." (golint)
    • Line 114: warning: comment on exported const BRelease should be of the form "BRelease ..." (golint)
    • Line 116: warning: comment on exported const RBPress should be of the form "RBPress ..." (golint)
    • Line 118: warning: comment on exported const RBRelease should be of the form "RBRelease ..." (golint)
    • Line 120: warning: comment on exported const LBPress should be of the form "LBPress ..." (golint)
    • Line 122: warning: comment on exported const LBRelease should be of the form "LBRelease ..." (golint)
    • Line 124: warning: comment on exported const BackPress should be of the form "BackPress ..." (golint)
    • Line 126: warning: comment on exported const BackRelease should be of the form "BackRelease ..." (golint)
    • Line 128: warning: comment on exported const RedPress should be of the form "RedPress ..." (golint)
    • Line 130: warning: comment on exported const RedRelease should be of the form "RedRelease ..." (golint)
    • Line 132: warning: comment on exported const YellowPress should be of the form "YellowPress ..." (golint)
    • Line 134: warning: comment on exported const YellowRelease should be of the form "YellowRelease ..." (golint)
    • Line 136: warning: comment on exported const BluePress should be of the form "BluePress ..." (golint)
    • Line 138: warning: comment on exported const BlueRelease should be of the form "BlueRelease ..." (golint)
    • Line 140: warning: comment on exported const GreenPress should be of the form "GreenPress ..." (golint)
    • Line 142: warning: comment on exported const GreenRelease should be of the form "GreenRelease ..." (golint)
    • Line 144: warning: comment on exported const PedalPress should be of the form "PedalPress ..." (golint)
    • Line 146: warning: comment on exported const PedalRelease should be of the form "PedalRelease ..." (golint)
    • gobot/sysfs/digital_pin.go
    • Line 47: warning: exported type DigitalPin should have comment or be unexported (golint)
    • Line 69: warning: exported method DigitalPin.Direction should have comment or be unexported (golint)
    • Line 87: warning: exported method DigitalPin.Export should have comment or be unexported (golint)
    • Line 136: warning: exported method DigitalPin.Unexport should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words

    • gobot/drivers/i2c/ccs811_driver.go
    • Line 39: warning: "calcualtions" is a misspelling of "calculations" (misspell)
    • Line 77: warning: "definiton" is a misspelling of "definition" (misspell)
    • Line 94: warning: "avaliable" is a misspelling of "available" (misspell)
    • Line 100: warning: "intial" is a misspelling of "initial" (misspell)
    • Line 264: warning: "avaliable" is a misspelling of "available" (misspell)