Preparing report...

Report for github.com/brutella/hc

A+    Excellent!    Found 278 issues across 386 files

Tweet

gofmt98%

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!


golint28%

Golint is a linter for Go source code.

    • hc/rtp/audio_stream_configuration.go
    • Line 4: warning: don't use underscores in Go names; const AudioCodecType_PCMU should be AudioCodecTypePCMU (golint)
    • Line 4: warning: exported const AudioCodecType_PCMU should have comment (or a comment on this block) or be unexported (golint)
    • Line 5: warning: don't use underscores in Go names; const AudioCodecType_PCMA should be AudioCodecTypePCMA (golint)
    • Line 6: warning: don't use underscores in Go names; const AudioCodecType_AAC_ELD should be AudioCodecTypeAACELD (golint)
    • Line 7: warning: don't use underscores in Go names; const AudioCodecType_Opus should be AudioCodecTypeOpus (golint)
    • Line 8: warning: don't use underscores in Go names; const AudioCodecType_MSBC should be AudioCodecTypeMSBC (golint)
    • Line 9: warning: don't use underscores in Go names; const AudioCodecType_AMR should be AudioCodecTypeAMR (golint)
    • Line 10: warning: don't use underscores in Go names; const AudioCodecType_ARM_WB should be AudioCodecTypeARMWB (golint)
    • Line 20: warning: exported type AudioStreamConfiguration should have comment or be unexported (golint)
    • Line 25: warning: exported type AudioCodecConfiguration should have comment or be unexported (golint)
    • Line 30: warning: exported type AudioCodecParameters should have comment or be unexported (golint)
    • Line 39: warning: exported function DefaultAudioStreamConfiguration should have comment or be unexported (golint)
    • Line 49: warning: exported function NewOpusAudioCodecConfiguration should have comment or be unexported (golint)
    • Line 60: warning: exported function NewAacEldAudioCodecConfiguration should have comment or be unexported (golint)
    • hc/characteristic/program_mode.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ProgramModeNoProgramScheduled should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeProgramMode should have comment or be unexported (golint)
    • Line 12: warning: exported type ProgramMode should have comment or be unexported (golint)
    • Line 16: warning: exported function NewProgramMode should have comment or be unexported (golint)
    • hc/service/air_quality_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeAirQualitySensor should have comment or be unexported (golint)
    • Line 10: warning: exported type AirQualitySensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewAirQualitySensor should have comment or be unexported (golint)
    • hc/characteristic/supported_video_recording_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedVideoRecordingConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedVideoRecordingConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedVideoRecordingConfiguration should have comment or be unexported (golint)
    • hc/characteristic/category.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCategory should have comment or be unexported (golint)
    • Line 6: warning: exported type Category should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCategory should have comment or be unexported (golint)
    • hc/characteristic/day_of_the_week.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeDayOfTheWeek should have comment or be unexported (golint)
    • Line 6: warning: exported type DayOfTheWeek should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDayOfTheWeek should have comment or be unexported (golint)
    • hc/characteristic/water_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeWaterLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type WaterLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewWaterLevel should have comment or be unexported (golint)
    • hc/characteristic/security_system_alarm_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSecuritySystemAlarmType should have comment or be unexported (golint)
    • Line 6: warning: exported type SecuritySystemAlarmType should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSecuritySystemAlarmType should have comment or be unexported (golint)
    • hc/service/tunneled_btle_accessory_service.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeTunneledBTLEAccessoryService should have comment or be unexported (golint)
    • Line 10: warning: exported type TunneledBTLEAccessoryService should have comment or be unexported (golint)
    • Line 21: warning: exported function NewTunneledBTLEAccessoryService should have comment or be unexported (golint)
    • hc/hap/constants.go
    • Line 18: warning: exported const StatusSuccess should have comment (or a comment on this block) or be unexported (golint)
    • hc/characteristic/current_humidifier_dehumidifier_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentHumidifierDehumidifierStateInactive should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeCurrentHumidifierDehumidifierState should have comment or be unexported (golint)
    • Line 13: warning: exported type CurrentHumidifierDehumidifierState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCurrentHumidifierDehumidifierState should have comment or be unexported (golint)
    • hc/characteristic/model.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeModel should have comment or be unexported (golint)
    • Line 6: warning: exported type Model should have comment or be unexported (golint)
    • Line 10: warning: exported function NewModel should have comment or be unexported (golint)
    • hc/characteristic/pm2_5_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePM2_5Density should have comment or be unexported (golint)
    • Line 6: warning: exported type PM2_5Density should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPM2_5Density should have comment or be unexported (golint)
    • hc/characteristic/setup_endpoints.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSetupEndpoints should have comment or be unexported (golint)
    • Line 6: warning: exported type SetupEndpoints should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSetupEndpoints should have comment or be unexported (golint)
    • hc/characteristic/supported_audio_stream_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedAudioStreamConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedAudioStreamConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedAudioStreamConfiguration should have comment or be unexported (golint)
    • hc/service/doorbell.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeDoorbell should have comment or be unexported (golint)
    • Line 10: warning: exported type Doorbell should have comment or be unexported (golint)
    • Line 16: warning: exported function NewDoorbell should have comment or be unexported (golint)
    • hc/characteristic/is_configured.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const IsConfiguredNotConfigured should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeIsConfigured should have comment or be unexported (golint)
    • Line 11: warning: exported type IsConfigured should have comment or be unexported (golint)
    • Line 15: warning: exported function NewIsConfigured should have comment or be unexported (golint)
    • hc/characteristic/security_system_current_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SecuritySystemCurrentStateStayArm should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported const TypeSecuritySystemCurrentState should have comment or be unexported (golint)
    • Line 14: warning: exported type SecuritySystemCurrentState should have comment or be unexported (golint)
    • Line 18: warning: exported function NewSecuritySystemCurrentState should have comment or be unexported (golint)
    • hc/characteristic/selected_rtp_stream_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSelectedRTPStreamConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SelectedRTPStreamConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSelectedRTPStreamConfiguration should have comment or be unexported (golint)
    • hc/characteristic/service_label_index.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeServiceLabelIndex should have comment or be unexported (golint)
    • Line 6: warning: exported type ServiceLabelIndex should have comment or be unexported (golint)
    • Line 10: warning: exported function NewServiceLabelIndex should have comment or be unexported (golint)
    • hc/rtp/configuration.go
    • Line 3: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 7: warning: exported function NewConfiguration should have comment or be unexported (golint)
    • Line 13: warning: exported type SupportedCryptoSuite should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; const CryptoSuite_AES_CM_128_HMAC_SHA1_80 should be CryptoSuiteAESCM128HMACSHA1_80 (golint)
    • Line 18: warning: exported const CryptoSuite_AES_CM_128_HMAC_SHA1_80 should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; const CryptoSuite_AES_256_CM_HMAC_SHA1_80 should be CryptoSuiteAES256CMHMACSHA1_80 (golint)
    • hc/characteristic/bool.go
    • Line 7: warning: exported type Bool should have comment or be unexported (golint)
    • Line 11: warning: exported function NewBool should have comment or be unexported (golint)
    • hc/characteristic/brightness.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeBrightness should have comment or be unexported (golint)
    • Line 6: warning: exported type Brightness should have comment or be unexported (golint)
    • Line 10: warning: exported function NewBrightness should have comment or be unexported (golint)
    • hc/characteristic/discovered_bridged_accessories.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeDiscoveredBridgedAccessories should have comment or be unexported (golint)
    • Line 6: warning: exported type DiscoveredBridgedAccessories should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDiscoveredBridgedAccessories should have comment or be unexported (golint)
    • hc/characteristic/software_revision.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSoftwareRevision should have comment or be unexported (golint)
    • Line 6: warning: exported type SoftwareRevision should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSoftwareRevision should have comment or be unexported (golint)
    • hc/service/stateful_programmable_switch.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeStatefulProgrammableSwitch should have comment or be unexported (golint)
    • Line 10: warning: exported type StatefulProgrammableSwitch should have comment or be unexported (golint)
    • Line 17: warning: exported function NewStatefulProgrammableSwitch should have comment or be unexported (golint)
    • hc/characteristic/filter_change_indication.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const FilterChangeIndicationFilterOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeFilterChangeIndication should have comment or be unexported (golint)
    • Line 11: warning: exported type FilterChangeIndication should have comment or be unexported (golint)
    • Line 15: warning: exported function NewFilterChangeIndication should have comment or be unexported (golint)
    • hc/characteristic/motion_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeMotionDetected should have comment or be unexported (golint)
    • Line 6: warning: exported type MotionDetected should have comment or be unexported (golint)
    • Line 10: warning: exported function NewMotionDetected should have comment or be unexported (golint)
    • hc/characteristic/relative_humidity_humidifier_threshold.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeRelativeHumidityHumidifierThreshold should have comment or be unexported (golint)
    • Line 6: warning: exported type RelativeHumidityHumidifierThreshold should have comment or be unexported (golint)
    • Line 10: warning: exported function NewRelativeHumidityHumidifierThreshold should have comment or be unexported (golint)
    • hc/service/humidifier_dehumidifier.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeHumidifierDehumidifier should have comment or be unexported (golint)
    • Line 10: warning: exported type HumidifierDehumidifier should have comment or be unexported (golint)
    • Line 19: warning: exported function NewHumidifierDehumidifier should have comment or be unexported (golint)
    • hc/service/time_information.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeTimeInformation should have comment or be unexported (golint)
    • Line 10: warning: exported type TimeInformation should have comment or be unexported (golint)
    • Line 18: warning: exported function NewTimeInformation should have comment or be unexported (golint)
    • hc/characteristic/carbon_dioxide_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CarbonDioxideDetectedCO2LevelsNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeCarbonDioxideDetected should have comment or be unexported (golint)
    • Line 11: warning: exported type CarbonDioxideDetected should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCarbonDioxideDetected should have comment or be unexported (golint)
    • hc/characteristic/current_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentTiltAngle should have comment or be unexported (golint)
    • hc/characteristic/position_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const PositionStateDecreasing should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypePositionState should have comment or be unexported (golint)
    • Line 12: warning: exported type PositionState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewPositionState should have comment or be unexported (golint)
    • hc/service/input_source.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeInputSource should have comment or be unexported (golint)
    • Line 10: warning: exported type InputSource should have comment or be unexported (golint)
    • Line 23: warning: exported function NewInputSource should have comment or be unexported (golint)
    • hc/characteristic/air_particulate_size.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const AirParticulateSize2_5Μm should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeAirParticulateSize should have comment or be unexported (golint)
    • Line 11: warning: exported type AirParticulateSize should have comment or be unexported (golint)
    • Line 15: warning: exported function NewAirParticulateSize should have comment or be unexported (golint)
    • hc/characteristic/current_air_purifier_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentAirPurifierStateInactive should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeCurrentAirPurifierState should have comment or be unexported (golint)
    • Line 12: warning: exported type CurrentAirPurifierState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCurrentAirPurifierState should have comment or be unexported (golint)
    • hc/characteristic/supported_video_stream_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedVideoStreamConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedVideoStreamConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedVideoStreamConfiguration should have comment or be unexported (golint)
    • hc/characteristic/contact_sensor_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ContactSensorStateContactDetected should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeContactSensorState should have comment or be unexported (golint)
    • Line 11: warning: exported type ContactSensorState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewContactSensorState should have comment or be unexported (golint)
    • hc/characteristic/current_ambient_light_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentAmbientLightLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentAmbientLightLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentAmbientLightLevel should have comment or be unexported (golint)
    • hc/characteristic/current_heater_cooler_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentHeaterCoolerStateInactive should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeCurrentHeaterCoolerState should have comment or be unexported (golint)
    • Line 13: warning: exported type CurrentHeaterCoolerState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCurrentHeaterCoolerState should have comment or be unexported (golint)
    • hc/service/battery_service.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeBatteryService should have comment or be unexported (golint)
    • Line 10: warning: exported type BatteryService should have comment or be unexported (golint)
    • Line 18: warning: exported function NewBatteryService should have comment or be unexported (golint)
    • hc/service/fan_v2.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeFanV2 should have comment or be unexported (golint)
    • Line 10: warning: exported type FanV2 should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFanV2 should have comment or be unexported (golint)
    • hc/service/valve.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeValve should have comment or be unexported (golint)
    • Line 10: warning: exported type Valve should have comment or be unexported (golint)
    • Line 18: warning: exported function NewValve should have comment or be unexported (golint)
    • hc/characteristic/air_particulate_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAirParticulateDensity should have comment or be unexported (golint)
    • Line 6: warning: exported type AirParticulateDensity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAirParticulateDensity should have comment or be unexported (golint)
    • hc/characteristic/firmware_revision.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeFirmwareRevision should have comment or be unexported (golint)
    • Line 6: warning: exported type FirmwareRevision should have comment or be unexported (golint)
    • Line 10: warning: exported function NewFirmwareRevision should have comment or be unexported (golint)
    • hc/characteristic/heating_threshold_temperature.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeHeatingThresholdTemperature should have comment or be unexported (golint)
    • Line 6: warning: exported type HeatingThresholdTemperature should have comment or be unexported (golint)
    • Line 10: warning: exported function NewHeatingThresholdTemperature should have comment or be unexported (golint)
    • hc/characteristic/in_use.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const InUseNotInUse should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeInUse should have comment or be unexported (golint)
    • Line 11: warning: exported type InUse should have comment or be unexported (golint)
    • Line 15: warning: exported function NewInUse should have comment or be unexported (golint)
    • hc/characteristic/supported_rtp_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedRTPConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedRTPConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedRTPConfiguration should have comment or be unexported (golint)
    • hc/characteristic/version.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeVersion should have comment or be unexported (golint)
    • Line 6: warning: exported type Version should have comment or be unexported (golint)
    • Line 10: warning: exported function NewVersion should have comment or be unexported (golint)
    • hc/service/lightbulb.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeLightbulb should have comment or be unexported (golint)
    • Line 10: warning: exported type Lightbulb should have comment or be unexported (golint)
    • Line 16: warning: exported function NewLightbulb should have comment or be unexported (golint)
    • hc/service/service_label.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeServiceLabel should have comment or be unexported (golint)
    • Line 10: warning: exported type ServiceLabel should have comment or be unexported (golint)
    • Line 16: warning: exported function NewServiceLabel should have comment or be unexported (golint)
    • hc/characteristic/identifier.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeIdentifier should have comment or be unexported (golint)
    • Line 6: warning: exported type Identifier should have comment or be unexported (golint)
    • Line 10: warning: exported function NewIdentifier should have comment or be unexported (golint)
    • hc/characteristic/on.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeOn should have comment or be unexported (golint)
    • Line 6: warning: exported type On should have comment or be unexported (golint)
    • Line 10: warning: exported function NewOn should have comment or be unexported (golint)
    • hc/characteristic/temperature_display_units.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TemperatureDisplayUnitsCelsius should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTemperatureDisplayUnits should have comment or be unexported (golint)
    • Line 11: warning: exported type TemperatureDisplayUnits should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTemperatureDisplayUnits should have comment or be unexported (golint)
    • hc/rtp/stream_status.go
    • Line 3: warning: exported type StreamingStatus should have comment or be unexported (golint)
    • Line 8: warning: exported const StreamingStatusAvailable should have comment (or a comment on this block) or be unexported (golint)
    • hc/service/air_purifier.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeAirPurifier should have comment or be unexported (golint)
    • Line 10: warning: exported type AirPurifier should have comment or be unexported (golint)
    • Line 18: warning: exported function NewAirPurifier should have comment or be unexported (golint)
    • hc/service/thermostat.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeThermostat should have comment or be unexported (golint)
    • Line 10: warning: exported type Thermostat should have comment or be unexported (golint)
    • Line 20: warning: exported function NewThermostat should have comment or be unexported (golint)
    • hc/characteristic/accessory_identifier.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAccessoryIdentifier should have comment or be unexported (golint)
    • Line 6: warning: exported type AccessoryIdentifier should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAccessoryIdentifier should have comment or be unexported (golint)
    • hc/characteristic/carbon_monoxide_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CarbonMonoxideDetectedCOLevelsNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeCarbonMonoxideDetected should have comment or be unexported (golint)
    • Line 11: warning: exported type CarbonMonoxideDetected should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCarbonMonoxideDetected should have comment or be unexported (golint)
    • hc/hap/http/server.go
    • Line 19: warning: exported type Config should have comment or be unexported (golint)
    • Line 29: warning: exported type Server should have comment or be unexported (golint)
    • Line 88: warning: exported method Server.ListenAndServe should have comment or be unexported (golint)
    • Line 100: warning: exported method Server.Port should have comment or be unexported (golint)
    • Line 125: warning: receiver name srv should be consistent with previous receiver name s for Server (golint)
    • hc/characteristic/tunneled_accessory_connected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTunneledAccessoryConnected should have comment or be unexported (golint)
    • Line 6: warning: exported type TunneledAccessoryConnected should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTunneledAccessoryConnected should have comment or be unexported (golint)
    • hc/hap/http/characteristics.go
    • Line 14: warning: exported type CharacteristicsResponse should have comment or be unexported (golint)
    • Line 18: warning: exported type CharacteristicResponse should have comment or be unexported (golint)
    • Line 28: warning: exported type CharacteristicRequest should have comment or be unexported (golint)
    • hc/tlv8/decoder.go
    • Line 190: 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 219: warning: exported type InvalidUnmarshalError should have comment or be unexported (golint)
    • hc/characteristic/input_device_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const InputDeviceTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported const TypeInputDeviceType should have comment or be unexported (golint)
    • Line 15: warning: exported type InputDeviceType should have comment or be unexported (golint)
    • Line 19: warning: exported function NewInputDeviceType should have comment or be unexported (golint)
    • hc/characteristic/link_quality.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeLinkQuality should have comment or be unexported (golint)
    • Line 6: warning: exported type LinkQuality should have comment or be unexported (golint)
    • Line 10: warning: exported function NewLinkQuality should have comment or be unexported (golint)
    • hc/service/camera_control.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeCameraControl should have comment or be unexported (golint)
    • Line 10: warning: exported type CameraControl should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCameraControl should have comment or be unexported (golint)
    • hc/characteristic/current_position.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentPosition should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentPosition should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentPosition should have comment or be unexported (golint)
    • hc/characteristic/current_transport.go
    • Line 3: warning: exported const TypeCurrentTransport should have comment or be unexported (golint)
    • Line 5: warning: exported type CurrentTransport should have comment or be unexported (golint)
    • Line 9: warning: exported function NewCurrentTransport should have comment or be unexported (golint)
    • hc/gen/swift/enum.go
    • Line 3: warning: exported const EnumTemplate should have comment or be unexported (golint)
    • Line 8: warning: exported type Enum should have comment or be unexported (golint)
    • Line 14: warning: exported method Enum.HasSuper should have comment or be unexported (golint)
    • Line 18: warning: exported type Case should have comment or be unexported (golint)
    • Line 24: warning: exported method Case.HasComment should have comment or be unexported (golint)
    • hc/characteristic/color_temperature.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeColorTemperature should have comment or be unexported (golint)
    • Line 6: warning: exported type ColorTemperature should have comment or be unexported (golint)
    • Line 10: warning: exported function NewColorTemperature should have comment or be unexported (golint)
    • hc/characteristic/target_fan_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetFanStateManual should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTargetFanState should have comment or be unexported (golint)
    • Line 11: warning: exported type TargetFanState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetFanState should have comment or be unexported (golint)
    • hc/characteristic/target_air_purifier_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetAirPurifierStateManual should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTargetAirPurifierState should have comment or be unexported (golint)
    • Line 11: warning: exported type TargetAirPurifierState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetAirPurifierState should have comment or be unexported (golint)
    • hc/util/xhmurl.go
    • Line 16: warning: exported type SetupFlag should have comment or be unexported (golint)
    • Line 18: warning: exported var SetupFlagNone should have comment or be unexported (golint)
    • Line 19: warning: exported var SetupFlagNFC should have comment or be unexported (golint)
    • Line 20: warning: exported var SetupFlagIP should have comment or be unexported (golint)
    • Line 21: warning: exported var SetupFlagBTLE should have comment or be unexported (golint)
    • Line 22: warning: exported var SetupFlagIPWAC should have comment or be unexported (golint)
    • Line 24: warning: exported function XHMURI should have comment or be unexported (golint)
    • Line 64: warning: don't use underscores in Go names; var setup_payload should be setupPayload (golint)
    • hc/service/heater.go
    • Line 7: warning: exported type Heater should have comment or be unexported (golint)
    • Line 13: warning: exported function NewHeater should have comment or be unexported (golint)
    • hc/characteristic/active.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ActiveInactive should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeActive should have comment or be unexported (golint)
    • Line 11: warning: exported type Active should have comment or be unexported (golint)
    • Line 15: warning: exported function NewActive should have comment or be unexported (golint)
    • hc/characteristic/charging_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ChargingStateNotCharging should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeChargingState should have comment or be unexported (golint)
    • Line 12: warning: exported type ChargingState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewChargingState should have comment or be unexported (golint)
    • hc/characteristic/lock_control_point.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeLockControlPoint should have comment or be unexported (golint)
    • Line 6: warning: exported type LockControlPoint should have comment or be unexported (golint)
    • Line 10: warning: exported function NewLockControlPoint should have comment or be unexported (golint)
    • hc/service/camera_recording_management.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeCameraRecordingManagement should have comment or be unexported (golint)
    • Line 10: warning: exported type CameraRecordingManagement should have comment or be unexported (golint)
    • Line 19: warning: exported function NewCameraRecordingManagement should have comment or be unexported (golint)
    • hc/service/lock_mechanism.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeLockMechanism should have comment or be unexported (golint)
    • Line 10: warning: exported type LockMechanism should have comment or be unexported (golint)
    • Line 17: warning: exported function NewLockMechanism should have comment or be unexported (golint)
    • hc/characteristic/lock_last_known_action.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const LockLastKnownActionSecuredPhysicallyInterior should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported const TypeLockLastKnownAction should have comment or be unexported (golint)
    • Line 18: warning: exported type LockLastKnownAction should have comment or be unexported (golint)
    • Line 22: warning: exported function NewLockLastKnownAction should have comment or be unexported (golint)
    • hc/characteristic/target_door_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetDoorStateOpen should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTargetDoorState should have comment or be unexported (golint)
    • Line 11: warning: exported type TargetDoorState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetDoorState should have comment or be unexported (golint)
    • hc/characteristic/status_low_battery.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const StatusLowBatteryBatteryLevelNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeStatusLowBattery should have comment or be unexported (golint)
    • Line 11: warning: exported type StatusLowBattery should have comment or be unexported (golint)
    • Line 15: warning: exported function NewStatusLowBattery should have comment or be unexported (golint)
    • hc/rtp/stream_configuration.go
    • Line 3: warning: exported type StreamConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported const SessionControlCommandTypeEnd should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type SessionControlCommand should have comment or be unexported (golint)
    • Line 22: warning: exported type VideoParameters should have comment or be unexported (golint)
    • Line 29: warning: exported type AudioParameters should have comment or be unexported (golint)
    • Line 36: warning: exported type RTPParams should have comment or be unexported (golint)
    • hc/service/accessory_information.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeAccessoryInformation should have comment or be unexported (golint)
    • Line 10: warning: exported type AccessoryInformation should have comment or be unexported (golint)
    • Line 21: warning: exported function NewAccessoryInformation should have comment or be unexported (golint)
    • hc/service/faucet.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeFaucet should have comment or be unexported (golint)
    • Line 10: warning: exported type Faucet should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFaucet should have comment or be unexported (golint)
    • hc/characteristic/bytes.go
    • Line 8: warning: exported type Bytes should have comment or be unexported (golint)
    • Line 12: warning: exported function NewBytes should have comment or be unexported (golint)
    • Line 19: warning: exported method Bytes.SetValue should have comment or be unexported (golint)
    • Line 23: warning: exported method Bytes.GetValue should have comment or be unexported (golint)
    • Line 27: 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 32: warning: exported method Bytes.OnValueRemoteUpdate should have comment or be unexported (golint)
    • hc/characteristic/name.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeName should have comment or be unexported (golint)
    • Line 6: warning: exported type Name should have comment or be unexported (golint)
    • Line 10: warning: exported function NewName should have comment or be unexported (golint)
    • hc/characteristic/volume_selector.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const VolumeSelectorIncrement should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeVolumeSelector should have comment or be unexported (golint)
    • Line 11: warning: exported type VolumeSelector should have comment or be unexported (golint)
    • Line 15: warning: exported function NewVolumeSelector should have comment or be unexported (golint)
    • hc/service/cooler.go
    • Line 7: warning: exported type Cooler should have comment or be unexported (golint)
    • Line 13: warning: exported function NewCooler should have comment or be unexported (golint)
    • hc/service/slat.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeSlat should have comment or be unexported (golint)
    • Line 10: warning: exported type Slat should have comment or be unexported (golint)
    • Line 17: warning: exported function NewSlat should have comment or be unexported (golint)
    • hc/characteristic/accessory_flags.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAccessoryFlags should have comment or be unexported (golint)
    • Line 6: warning: exported type AccessoryFlags should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAccessoryFlags should have comment or be unexported (golint)
    • hc/characteristic/air_quality.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const AirQualityUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported const TypeAirQuality should have comment or be unexported (golint)
    • Line 15: warning: exported type AirQuality should have comment or be unexported (golint)
    • Line 19: warning: exported function NewAirQuality should have comment or be unexported (golint)
    • hc/characteristic/cooling_threshold_temperature.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCoolingThresholdTemperature should have comment or be unexported (golint)
    • Line 6: warning: exported type CoolingThresholdTemperature should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCoolingThresholdTemperature should have comment or be unexported (golint)
    • hc/characteristic/current_visibility_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentVisibilityStateShown should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeCurrentVisibilityState should have comment or be unexported (golint)
    • Line 11: warning: exported type CurrentVisibilityState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCurrentVisibilityState should have comment or be unexported (golint)
    • hc/characteristic/hue.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeHue should have comment or be unexported (golint)
    • Line 6: warning: exported type Hue should have comment or be unexported (golint)
    • Line 10: warning: exported function NewHue should have comment or be unexported (golint)
    • hc/characteristic/supported_audio_recording_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedAudioRecordingConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedAudioRecordingConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedAudioRecordingConfiguration should have comment or be unexported (golint)
    • hc/service/garage_door_opener.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeGarageDoorOpener should have comment or be unexported (golint)
    • Line 10: warning: exported type GarageDoorOpener should have comment or be unexported (golint)
    • Line 18: warning: exported function NewGarageDoorOpener should have comment or be unexported (golint)
    • hc/service/humidity_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeHumiditySensor should have comment or be unexported (golint)
    • Line 10: warning: exported type HumiditySensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewHumiditySensor should have comment or be unexported (golint)
    • hc/service/stateless_programmable_switch.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeStatelessProgrammableSwitch should have comment or be unexported (golint)
    • Line 10: warning: exported type StatelessProgrammableSwitch should have comment or be unexported (golint)
    • Line 16: warning: exported function NewStatelessProgrammableSwitch should have comment or be unexported (golint)
    • hc/characteristic/current_slat_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentSlatStateFixed should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeCurrentSlatState should have comment or be unexported (golint)
    • Line 12: warning: exported type CurrentSlatState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCurrentSlatState should have comment or be unexported (golint)
    • hc/characteristic/reachable.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeReachable should have comment or be unexported (golint)
    • Line 6: warning: exported type Reachable should have comment or be unexported (golint)
    • Line 10: warning: exported function NewReachable should have comment or be unexported (golint)
    • hc/service/service.go
    • Line 60: warning: exported method Service.AddCharacteristic should have comment or be unexported (golint)
    • Line 64: warning: exported method Service.AddLinkedService should have comment or be unexported (golint)
    • Line 77: warning: exported method Service.MarshalJSON should have comment or be unexported (golint)
    • hc/characteristic/tunneled_accessory_advertising.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTunneledAccessoryAdvertising should have comment or be unexported (golint)
    • Line 6: warning: exported type TunneledAccessoryAdvertising should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTunneledAccessoryAdvertising should have comment or be unexported (golint)
    • hc/service/fan.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeFan should have comment or be unexported (golint)
    • Line 10: warning: exported type Fan should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFan should have comment or be unexported (golint)
    • hc/characteristic/reset_filter_indication.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeResetFilterIndication should have comment or be unexported (golint)
    • Line 6: warning: exported type ResetFilterIndication should have comment or be unexported (golint)
    • Line 10: warning: exported function NewResetFilterIndication should have comment or be unexported (golint)
    • hc/service/bridging_state.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeBridgingState should have comment or be unexported (golint)
    • Line 10: warning: exported type BridgingState should have comment or be unexported (golint)
    • Line 19: warning: exported function NewBridgingState should have comment or be unexported (golint)
    • hc/characteristic/current_vertical_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentVerticalTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentVerticalTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentVerticalTiltAngle should have comment or be unexported (golint)
    • hc/characteristic/target_media_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetMediaStatePlay should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeTargetMediaState should have comment or be unexported (golint)
    • Line 12: warning: exported type TargetMediaState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTargetMediaState should have comment or be unexported (golint)
    • hc/accessory/constant.go
    • Line 1: warning: package comment should be of the form "Package accessory ..." (golint)
    • Line 4: warning: exported type AccessoryType should have comment or be unexported (golint)
    • Line 7: warning: exported const TypeUnknown should have comment (or a comment on this block) or be unexported (golint)
    • hc/characteristic/pair_verify.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePairVerify should have comment or be unexported (golint)
    • Line 6: warning: exported type PairVerify should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPairVerify should have comment or be unexported (golint)
    • hc/characteristic/programmable_switch_output_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeProgrammableSwitchOutputState should have comment or be unexported (golint)
    • Line 6: warning: exported type ProgrammableSwitchOutputState should have comment or be unexported (golint)
    • Line 10: warning: exported function NewProgrammableSwitchOutputState should have comment or be unexported (golint)
    • hc/characteristic/smoke_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SmokeDetectedSmokeNotDetected should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeSmokeDetected should have comment or be unexported (golint)
    • Line 11: warning: exported type SmokeDetected should have comment or be unexported (golint)
    • Line 15: warning: exported function NewSmokeDetected should have comment or be unexported (golint)
    • hc/characteristic/target_humidifier_dehumidifier_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetHumidifierDehumidifierStateHumidifierOrDehumidifier should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeTargetHumidifierDehumidifierState should have comment or be unexported (golint)
    • Line 12: warning: exported type TargetHumidifierDehumidifierState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTargetHumidifierDehumidifierState should have comment or be unexported (golint)
    • hc/characteristic/tunnel_connection_timeout.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTunnelConnectionTimeout should have comment or be unexported (golint)
    • Line 6: warning: exported type TunnelConnectionTimeout should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTunnelConnectionTimeout should have comment or be unexported (golint)
    • hc/gen/markdown/service.go
    • Line 10: warning: exported const ServicesTemplate should have comment or be unexported (golint)
    • Line 15: warning: exported type Services should have comment or be unexported (golint)
    • Line 19: warning: exported function ServicesCode should have comment or be unexported (golint)
    • hc/service/filter_maintenance.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeFilterMaintenance should have comment or be unexported (golint)
    • Line 10: warning: exported type FilterMaintenance should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFilterMaintenance should have comment or be unexported (golint)
    • hc/characteristic/carbon_monoxide_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCarbonMonoxideLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type CarbonMonoxideLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCarbonMonoxideLevel should have comment or be unexported (golint)
    • hc/characteristic/hardware_revision.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeHardwareRevision should have comment or be unexported (golint)
    • Line 6: warning: exported type HardwareRevision should have comment or be unexported (golint)
    • Line 10: warning: exported function NewHardwareRevision should have comment or be unexported (golint)
    • hc/characteristic/leak_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const LeakDetectedLeakNotDetected should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeLeakDetected should have comment or be unexported (golint)
    • Line 11: warning: exported type LeakDetected should have comment or be unexported (golint)
    • Line 15: warning: exported function NewLeakDetected should have comment or be unexported (golint)
    • hc/gen/golang/service.go
    • Line 53: warning: comment on exported function ServiceFileName should be of the form "ServiceFileName ..." (golint)
    • Line 58: warning: exported function ServiceDecl should have comment or be unexported (golint)
    • hc/characteristic/active_identifier.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeActiveIdentifier should have comment or be unexported (golint)
    • Line 6: warning: exported type ActiveIdentifier should have comment or be unexported (golint)
    • Line 10: warning: exported function NewActiveIdentifier should have comment or be unexported (golint)
    • hc/characteristic/input_source_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const InputSourceTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported const TypeInputSourceType should have comment or be unexported (golint)
    • Line 20: warning: exported type InputSourceType should have comment or be unexported (golint)
    • Line 24: warning: exported function NewInputSourceType should have comment or be unexported (golint)
    • hc/characteristic/remote_key.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const RemoteKeyRewind should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported const TypeRemoteKey should have comment or be unexported (golint)
    • Line 22: warning: exported type RemoteKey should have comment or be unexported (golint)
    • Line 26: warning: exported function NewRemoteKey should have comment or be unexported (golint)
    • hc/characteristic/sulphur_dioxide_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSulphurDioxideDensity should have comment or be unexported (golint)
    • Line 6: warning: exported type SulphurDioxideDensity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSulphurDioxideDensity should have comment or be unexported (golint)
    • hc/accessory/colored_lightbulb.go
    • Line 7: warning: exported type ColoredLightbulb should have comment or be unexported (golint)
    • Line 12: warning: comment on exported function NewColoredLightbulb should be of the form "NewColoredLightbulb ..." (golint)
    • hc/characteristic/int.go
    • Line 7: warning: exported type Int should have comment or be unexported (golint)
    • Line 11: warning: exported function NewInt should have comment or be unexported (golint)
    • Line 21: warning: exported method Int.SetMinValue should have comment or be unexported (golint)
    • Line 25: warning: exported method Int.SetMaxValue should have comment or be unexported (golint)
    • Line 29: warning: exported method Int.SetStepValue should have comment or be unexported (golint)
    • Line 38: warning: exported method Int.GetMinValue should have comment or be unexported (golint)
    • Line 42: warning: exported method Int.GetMaxValue should have comment or be unexported (golint)
    • Line 46: warning: exported method Int.GetStepValue should have comment or be unexported (golint)
    • hc/characteristic/slat_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SlatTypeHorizontal should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeSlatType should have comment or be unexported (golint)
    • Line 11: warning: exported type SlatType should have comment or be unexported (golint)
    • Line 15: warning: exported function NewSlatType should have comment or be unexported (golint)
    • hc/characteristic/status_active.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeStatusActive should have comment or be unexported (golint)
    • Line 6: warning: exported type StatusActive should have comment or be unexported (golint)
    • Line 10: warning: exported function NewStatusActive should have comment or be unexported (golint)
    • hc/gen/golang/characteristic.go
    • Line 68: warning: exported function NewCharacteristic should have comment or be unexported (golint)
    • Line 148: warning: comment on exported function CharacteristicFileName should be of the form "CharacteristicFileName ..." (golint)
    • hc/characteristic/current_time.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentTime should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentTime should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentTime should have comment or be unexported (golint)
    • hc/characteristic/target_position.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetPosition should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetPosition should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetPosition should have comment or be unexported (golint)
    • hc/characteristic/target_slat_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetSlatStateManual should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTargetSlatState should have comment or be unexported (golint)
    • Line 11: warning: exported type TargetSlatState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetSlatState should have comment or be unexported (golint)
    • hc/characteristic/target_temperature.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetTemperature should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetTemperature should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetTemperature should have comment or be unexported (golint)
    • hc/hap/pair/admin.go
    • Line 4: warning: exported const NonAdminPerm should have comment (or a comment on this block) or be unexported (golint)
    • hc/characteristic/configure_bridged_accessory.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeConfigureBridgedAccessory should have comment or be unexported (golint)
    • Line 6: warning: exported type ConfigureBridgedAccessory should have comment or be unexported (golint)
    • Line 10: warning: exported function NewConfigureBridgedAccessory should have comment or be unexported (golint)
    • hc/characteristic/discover_bridged_accessories.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const DiscoverBridgedAccessoriesStartDiscovery should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeDiscoverBridgedAccessories should have comment or be unexported (golint)
    • Line 11: warning: exported type DiscoverBridgedAccessories should have comment or be unexported (golint)
    • Line 15: warning: exported function NewDiscoverBridgedAccessories should have comment or be unexported (golint)
    • hc/characteristic/hold_position.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeHoldPosition should have comment or be unexported (golint)
    • Line 6: warning: exported type HoldPosition should have comment or be unexported (golint)
    • Line 10: warning: exported function NewHoldPosition should have comment or be unexported (golint)
    • hc/characteristic/selected_stream_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSelectedStreamConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SelectedStreamConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSelectedStreamConfiguration should have comment or be unexported (golint)
    • hc/characteristic/administrator_only_access.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAdministratorOnlyAccess should have comment or be unexported (golint)
    • Line 6: warning: exported type AdministratorOnlyAccess should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAdministratorOnlyAccess should have comment or be unexported (golint)
    • hc/characteristic/logs.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeLogs should have comment or be unexported (golint)
    • Line 6: warning: exported type Logs should have comment or be unexported (golint)
    • Line 10: warning: exported function NewLogs should have comment or be unexported (golint)
    • hc/characteristic/pm10_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePM10Density should have comment or be unexported (golint)
    • Line 6: warning: exported type PM10Density should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPM10Density should have comment or be unexported (golint)
    • hc/characteristic/set_duration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSetDuration should have comment or be unexported (golint)
    • Line 6: warning: exported type SetDuration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSetDuration should have comment or be unexported (golint)
    • hc/characteristic/string.go
    • Line 7: warning: exported type String should have comment or be unexported (golint)
    • Line 11: warning: exported function NewString should have comment or be unexported (golint)
    • hc/service/colored_lightbulb.go
    • Line 7: warning: exported type ColoredLightbulb should have comment or be unexported (golint)
    • Line 16: warning: exported function NewColoredLightbulb should have comment or be unexported (golint)
    • hc/characteristic/filter_life_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeFilterLifeLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type FilterLifeLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewFilterLifeLevel should have comment or be unexported (golint)
    • hc/characteristic/target_vertical_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetVerticalTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetVerticalTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetVerticalTiltAngle should have comment or be unexported (golint)
    • hc/characteristic/lock_target_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const LockTargetStateUnsecured should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeLockTargetState should have comment or be unexported (golint)
    • Line 11: warning: exported type LockTargetState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewLockTargetState should have comment or be unexported (golint)
    • hc/characteristic/status_tampered.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const StatusTamperedNotTampered should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeStatusTampered should have comment or be unexported (golint)
    • Line 11: warning: exported type StatusTampered should have comment or be unexported (golint)
    • Line 15: warning: exported function NewStatusTampered should have comment or be unexported (golint)
    • hc/characteristic/wifi_configuration_control.go
    • Line 3: warning: exported const TypeWifiConfigurationControl should have comment or be unexported (golint)
    • Line 5: warning: exported type WifiConfigurationControl should have comment or be unexported (golint)
    • Line 9: warning: exported function NewWifiConfigurationControl should have comment or be unexported (golint)
    • hc/characteristic/outlet_in_use.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeOutletInUse should have comment or be unexported (golint)
    • Line 6: warning: exported type OutletInUse should have comment or be unexported (golint)
    • Line 10: warning: exported function NewOutletInUse should have comment or be unexported (golint)
    • hc/characteristic/pair_setup.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePairSetup should have comment or be unexported (golint)
    • Line 6: warning: exported type PairSetup should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPairSetup should have comment or be unexported (golint)
    • hc/characteristic/power_mode_selection.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const PowerModeSelectionShow should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypePowerModeSelection should have comment or be unexported (golint)
    • Line 11: warning: exported type PowerModeSelection should have comment or be unexported (golint)
    • Line 15: warning: exported function NewPowerModeSelection should have comment or be unexported (golint)
    • hc/characteristic/target_heating_cooling_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetHeatingCoolingStateOff should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeTargetHeatingCoolingState should have comment or be unexported (golint)
    • Line 13: warning: exported type TargetHeatingCoolingState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewTargetHeatingCoolingState should have comment or be unexported (golint)
    • hc/characteristic/tunneled_accessory_state_number.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTunneledAccessoryStateNumber should have comment or be unexported (golint)
    • Line 6: warning: exported type TunneledAccessoryStateNumber should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTunneledAccessoryStateNumber should have comment or be unexported (golint)
    • hc/service/heater_cooler.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeHeaterCooler should have comment or be unexported (golint)
    • Line 10: warning: exported type HeaterCooler should have comment or be unexported (golint)
    • Line 19: warning: exported function NewHeaterCooler should have comment or be unexported (golint)
    • hc/characteristic/app_matching_identifier.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAppMatchingIdentifier should have comment or be unexported (golint)
    • Line 6: warning: exported type AppMatchingIdentifier should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAppMatchingIdentifier should have comment or be unexported (golint)
    • hc/characteristic/characteristic.go
    • Line 10: warning: exported type ConnChangeFunc should have comment or be unexported (golint)
    • Line 11: warning: exported type ChangeFunc should have comment or be unexported (golint)
    • Line 12: warning: exported type GetFunc should have comment or be unexported (golint)
    • Line 53: warning: exported method Characteristic.GetValue should have comment or be unexported (golint)
    • Line 57: warning: exported method Characteristic.GetValueFromConnection should have comment or be unexported (golint)
    • Line 61: warning: exported method Characteristic.OnValueGet should have comment or be unexported (golint)
    • Line 65: warning: exported method Characteristic.UpdateValue should have comment or be unexported (golint)
    • Line 69: warning: exported method Characteristic.UpdateValueFromConnection should have comment or be unexported (golint)
    • Line 73: warning: exported method Characteristic.OnValueUpdate should have comment or be unexported (golint)
    • Line 77: warning: exported method Characteristic.OnValueUpdateFromConn should have comment or be unexported (golint)
    • Line 97: warning: exported method Characteristic.IsReadable should have comment or be unexported (golint)
    • Line 101: warning: exported method Characteristic.IsWritable should have comment or be unexported (golint)
    • Line 105: warning: exported method Characteristic.IsObservable should have comment or be unexported (golint)
    • hc/characteristic/occupancy_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const OccupancyDetectedOccupancyNotDetected should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeOccupancyDetected should have comment or be unexported (golint)
    • Line 11: warning: exported type OccupancyDetected should have comment or be unexported (golint)
    • Line 15: warning: exported function NewOccupancyDetected should have comment or be unexported (golint)
    • hc/characteristic/streaming_status.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeStreamingStatus should have comment or be unexported (golint)
    • Line 6: warning: exported type StreamingStatus should have comment or be unexported (golint)
    • Line 10: warning: exported function NewStreamingStatus should have comment or be unexported (golint)
    • hc/characteristic/picture_mode.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const PictureModeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported const TypePictureMode should have comment or be unexported (golint)
    • Line 17: warning: exported type PictureMode should have comment or be unexported (golint)
    • Line 21: warning: exported function NewPictureMode should have comment or be unexported (golint)
    • hc/characteristic/target_air_quality.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetAirQualityExcellent should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeTargetAirQuality should have comment or be unexported (golint)
    • Line 12: warning: exported type TargetAirQuality should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTargetAirQuality should have comment or be unexported (golint)
    • hc/service/occupancy_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeOccupancySensor should have comment or be unexported (golint)
    • Line 10: warning: exported type OccupancySensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewOccupancySensor should have comment or be unexported (golint)
    • hc/service/television.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeTelevision should have comment or be unexported (golint)
    • Line 10: warning: exported type Television should have comment or be unexported (golint)
    • Line 27: warning: exported function NewTelevision should have comment or be unexported (golint)
    • hc/service/wifitransport.go
    • Line 7: warning: exported const TypeWifiTransport should have comment or be unexported (golint)
    • Line 9: warning: exported type WifiTransport should have comment or be unexported (golint)
    • Line 17: warning: exported function NewWifiTransport should have comment or be unexported (golint)
    • hc/characteristic/battery_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeBatteryLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type BatteryLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewBatteryLevel should have comment or be unexported (golint)
    • hc/characteristic/carbon_dioxide_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCarbonDioxideLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type CarbonDioxideLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCarbonDioxideLevel should have comment or be unexported (golint)
    • hc/service/bridge_configuration.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeBridgeConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported type BridgeConfiguration should have comment or be unexported (golint)
    • Line 19: warning: exported function NewBridgeConfiguration should have comment or be unexported (golint)
    • hc/service/outlet.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeOutlet should have comment or be unexported (golint)
    • Line 10: warning: exported type Outlet should have comment or be unexported (golint)
    • Line 17: warning: exported function NewOutlet should have comment or be unexported (golint)
    • hc/characteristic/lock_physical_controls.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const LockPhysicalControlsControlLockDisabled should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeLockPhysicalControls should have comment or be unexported (golint)
    • Line 11: warning: exported type LockPhysicalControls should have comment or be unexported (golint)
    • Line 15: warning: exported function NewLockPhysicalControls should have comment or be unexported (golint)
    • hc/characteristic/voc_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeVOCDensity should have comment or be unexported (golint)
    • Line 6: warning: exported type VOCDensity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewVOCDensity should have comment or be unexported (golint)
    • hc/characteristic/current_temperature.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentTemperature should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentTemperature should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentTemperature should have comment or be unexported (golint)
    • hc/characteristic/selected_camera_recording_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSelectedCameraRecordingConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SelectedCameraRecordingConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSelectedCameraRecordingConfiguration should have comment or be unexported (golint)
    • hc/characteristic/target_heater_cooler_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetHeaterCoolerStateAuto should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeTargetHeaterCoolerState should have comment or be unexported (golint)
    • Line 12: warning: exported type TargetHeaterCoolerState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTargetHeaterCoolerState should have comment or be unexported (golint)
    • hc/hap/http/listener.go
    • Line 9: warning: exported method Server.Accept should have comment or be unexported (golint)
    • Line 20: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 24: warning: exported method Server.Addr should have comment or be unexported (golint)
    • hc/service/window_covering.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeWindowCovering should have comment or be unexported (golint)
    • Line 10: warning: exported type WindowCovering should have comment or be unexported (golint)
    • Line 18: warning: exported function NewWindowCovering should have comment or be unexported (golint)
    • hc/characteristic/current_fan_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentFanStateInactive should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeCurrentFanState should have comment or be unexported (golint)
    • Line 12: warning: exported type CurrentFanState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCurrentFanState should have comment or be unexported (golint)
    • hc/characteristic/manufacturer.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeManufacturer should have comment or be unexported (golint)
    • Line 6: warning: exported type Manufacturer should have comment or be unexported (golint)
    • Line 10: warning: exported function NewManufacturer should have comment or be unexported (golint)
    • hc/characteristic/sleep_discovery_mode.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SleepDiscoveryModeNotDiscoverable should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeSleepDiscoveryMode should have comment or be unexported (golint)
    • Line 11: warning: exported type SleepDiscoveryMode should have comment or be unexported (golint)
    • Line 15: warning: exported function NewSleepDiscoveryMode should have comment or be unexported (golint)
    • hc/service/lock_management.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeLockManagement should have comment or be unexported (golint)
    • Line 10: warning: exported type LockManagement should have comment or be unexported (golint)
    • Line 17: warning: exported function NewLockManagement should have comment or be unexported (golint)
    • hc/characteristic/current_heating_cooling_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentHeatingCoolingStateOff should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeCurrentHeatingCoolingState should have comment or be unexported (golint)
    • Line 12: warning: exported type CurrentHeatingCoolingState should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCurrentHeatingCoolingState should have comment or be unexported (golint)
    • hc/characteristic/service_label_namespace.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ServiceLabelNamespaceDots should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeServiceLabelNamespace should have comment or be unexported (golint)
    • Line 11: warning: exported type ServiceLabelNamespace should have comment or be unexported (golint)
    • Line 15: warning: exported function NewServiceLabelNamespace should have comment or be unexported (golint)
    • hc/gen/markdown/category.go
    • Line 9: warning: comment on exported const CategoriesTemplate should be of the form "CategoriesTemplate ..." (golint)
    • Line 14: warning: comment on exported function CategoriesCode should be of the form "CategoriesCode ..." (golint)
    • hc/service/camera_rtp_stream_management.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeCameraRTPStreamManagement should have comment or be unexported (golint)
    • Line 10: warning: exported type CameraRTPStreamManagement should have comment or be unexported (golint)
    • Line 21: warning: exported function NewCameraRTPStreamManagement should have comment or be unexported (golint)
    • hc/characteristic/configure_bridged_accessory_status.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeConfigureBridgedAccessoryStatus should have comment or be unexported (golint)
    • Line 6: warning: exported type ConfigureBridgedAccessoryStatus should have comment or be unexported (golint)
    • Line 10: warning: exported function NewConfigureBridgedAccessoryStatus should have comment or be unexported (golint)
    • hc/characteristic/display_order.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeDisplayOrder should have comment or be unexported (golint)
    • Line 6: warning: exported type DisplayOrder should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDisplayOrder should have comment or be unexported (golint)
    • hc/characteristic/remaining_duration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeRemainingDuration should have comment or be unexported (golint)
    • Line 6: warning: exported type RemainingDuration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewRemainingDuration should have comment or be unexported (golint)
    • hc/characteristic/saturation.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSaturation should have comment or be unexported (golint)
    • Line 6: warning: exported type Saturation should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSaturation should have comment or be unexported (golint)
    • hc/characteristic/volume.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeVolume should have comment or be unexported (golint)
    • Line 6: warning: exported type Volume should have comment or be unexported (golint)
    • Line 10: warning: exported function NewVolume should have comment or be unexported (golint)
    • hc/service/speaker.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeSpeaker should have comment or be unexported (golint)
    • Line 10: warning: exported type Speaker should have comment or be unexported (golint)
    • Line 16: warning: exported function NewSpeaker should have comment or be unexported (golint)
    • hc/characteristic/current_horizontal_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentHorizontalTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentHorizontalTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentHorizontalTiltAngle should have comment or be unexported (golint)
    • hc/characteristic/current_media_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentMediaStatePlay should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeCurrentMediaState should have comment or be unexported (golint)
    • Line 13: warning: exported type CurrentMediaState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCurrentMediaState should have comment or be unexported (golint)
    • hc/characteristic/current_relative_humidity.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCurrentRelativeHumidity should have comment or be unexported (golint)
    • Line 6: warning: exported type CurrentRelativeHumidity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCurrentRelativeHumidity should have comment or be unexported (golint)
    • hc/characteristic/night_vision.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeNightVision should have comment or be unexported (golint)
    • Line 6: warning: exported type NightVision should have comment or be unexported (golint)
    • Line 10: warning: exported function NewNightVision should have comment or be unexported (golint)
    • hc/tlv8/encoder.go
    • Line 87: 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 95: 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 105: 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 129: 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 146: warning: exported type UnexpectedTypeError should have comment or be unexported (golint)
    • hc/characteristic/digital_zoom.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeDigitalZoom should have comment or be unexported (golint)
    • Line 6: warning: exported type DigitalZoom should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDigitalZoom should have comment or be unexported (golint)
    • hc/characteristic/programmable_switch_event.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ProgrammableSwitchEventSinglePress should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported const TypeProgrammableSwitchEvent should have comment or be unexported (golint)
    • Line 12: warning: exported type ProgrammableSwitchEvent should have comment or be unexported (golint)
    • Line 16: warning: exported function NewProgrammableSwitchEvent should have comment or be unexported (golint)
    • hc/characteristic/rotation_speed.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeRotationSpeed should have comment or be unexported (golint)
    • Line 6: warning: exported type RotationSpeed should have comment or be unexported (golint)
    • Line 10: warning: exported function NewRotationSpeed should have comment or be unexported (golint)
    • hc/hap/http/json.go
    • Line 12: warning: exported function JSONEncode should have comment or be unexported (golint)
    • Line 21: warning: exported function JSONDecode should have comment or be unexported (golint)
    • Line 25: warning: exported function WriteJSON should have comment or be unexported (golint)
    • Line 38: warning: exported function ReadJSON should have comment or be unexported (golint)
    • hc/characteristic/status_jammed.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const StatusJammedNotJammed should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeStatusJammed should have comment or be unexported (golint)
    • Line 11: warning: exported type StatusJammed should have comment or be unexported (golint)
    • Line 15: warning: exported function NewStatusJammed should have comment or be unexported (golint)
    • hc/characteristic/supported_camera_recording_configuration.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSupportedCameraRecordingConfiguration should have comment or be unexported (golint)
    • Line 6: warning: exported type SupportedCameraRecordingConfiguration should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSupportedCameraRecordingConfiguration should have comment or be unexported (golint)
    • hc/service/door.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeDoor should have comment or be unexported (golint)
    • Line 10: warning: exported type Door should have comment or be unexported (golint)
    • Line 18: warning: exported function NewDoor should have comment or be unexported (golint)
    • hc/service/smoke_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeSmokeSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type SmokeSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewSmokeSensor should have comment or be unexported (golint)
    • hc/service/temperature_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeTemperatureSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type TemperatureSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewTemperatureSensor should have comment or be unexported (golint)
    • hc/characteristic/carbon_monoxide_peak_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCarbonMonoxidePeakLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type CarbonMonoxidePeakLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCarbonMonoxidePeakLevel should have comment or be unexported (golint)
    • hc/characteristic/current_door_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const CurrentDoorStateOpen should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported const TypeCurrentDoorState should have comment or be unexported (golint)
    • Line 14: warning: exported type CurrentDoorState should have comment or be unexported (golint)
    • Line 18: warning: exported function NewCurrentDoorState should have comment or be unexported (golint)
    • hc/characteristic/ozone_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeOzoneDensity should have comment or be unexported (golint)
    • Line 6: warning: exported type OzoneDensity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewOzoneDensity should have comment or be unexported (golint)
    • hc/service/carbon_dioxide_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeCarbonDioxideSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type CarbonDioxideSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCarbonDioxideSensor should have comment or be unexported (golint)
    • hc/characteristic/image_mirroring.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeImageMirroring should have comment or be unexported (golint)
    • Line 6: warning: exported type ImageMirroring should have comment or be unexported (golint)
    • Line 10: warning: exported function NewImageMirroring should have comment or be unexported (golint)
    • hc/characteristic/image_rotation.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeImageRotation should have comment or be unexported (golint)
    • Line 6: warning: exported type ImageRotation should have comment or be unexported (golint)
    • Line 10: warning: exported function NewImageRotation should have comment or be unexported (golint)
    • hc/characteristic/mute.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeMute should have comment or be unexported (golint)
    • Line 6: warning: exported type Mute should have comment or be unexported (golint)
    • Line 10: warning: exported function NewMute should have comment or be unexported (golint)
    • hc/characteristic/status_fault.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const StatusFaultNoFault should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeStatusFault should have comment or be unexported (golint)
    • Line 11: warning: exported type StatusFault should have comment or be unexported (golint)
    • Line 15: warning: exported function NewStatusFault should have comment or be unexported (golint)
    • hc/service/light_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeLightSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type LightSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewLightSensor should have comment or be unexported (golint)
    • hc/characteristic/target_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetTiltAngle should have comment or be unexported (golint)
    • hc/service/security_system.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeSecuritySystem should have comment or be unexported (golint)
    • Line 10: warning: exported type SecuritySystem should have comment or be unexported (golint)
    • Line 17: warning: exported function NewSecuritySystem should have comment or be unexported (golint)
    • hc/service/switch.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeSwitch should have comment or be unexported (golint)
    • Line 10: warning: exported type Switch should have comment or be unexported (golint)
    • Line 16: warning: exported function NewSwitch should have comment or be unexported (golint)
    • hc/config.go
    • Line 85: warning: exported method Config.XHMURI should have comment or be unexported (golint)
    • hc/service/motion_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeMotionSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type MotionSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewMotionSensor should have comment or be unexported (golint)
    • hc/characteristic/optical_zoom.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeOpticalZoom should have comment or be unexported (golint)
    • Line 6: warning: exported type OpticalZoom should have comment or be unexported (golint)
    • Line 10: warning: exported function NewOpticalZoom should have comment or be unexported (golint)
    • hc/characteristic/target_visibility_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const TargetVisibilityStateShown should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeTargetVisibilityState should have comment or be unexported (golint)
    • Line 11: warning: exported type TargetVisibilityState should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTargetVisibilityState should have comment or be unexported (golint)
    • hc/service/carbon_monoxide_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeCarbonMonoxideSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type CarbonMonoxideSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCarbonMonoxideSensor should have comment or be unexported (golint)
    • hc/characteristic/target_relative_humidity.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetRelativeHumidity should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetRelativeHumidity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetRelativeHumidity should have comment or be unexported (golint)
    • hc/rtp/setup_endpoints.go
    • Line 8: warning: exported type SetupEndpoints should have comment or be unexported (golint)
    • Line 19: warning: exported type SetupEndpointsResponse should have comment or be unexported (golint)
    • Line 30: warning: exported const SessionStatusSuccess should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type Addr should have comment or be unexported (golint)
    • Line 42: warning: exported type CryptoSuite should have comment or be unexported (golint)
    • Line 48: warning: exported method CryptoSuite.SrtpKey should have comment or be unexported (golint)
    • Line 53: warning: exported type CryptoSuiteType should have comment or be unexported (golint)
    • Line 58: warning: exported const IPAddrVersionv4 should have comment (or a comment on this block) or be unexported (golint)
    • hc/hap/pair/method_types.go
    • Line 5: warning: exported type PairMethodType should have comment or be unexported (golint)
    • Line 36: warning: exported method PairMethodType.Byte should have comment or be unexported (golint)
    • hc/characteristic/audio_feedback.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeAudioFeedback should have comment or be unexported (golint)
    • Line 6: warning: exported type AudioFeedback should have comment or be unexported (golint)
    • Line 10: warning: exported function NewAudioFeedback should have comment or be unexported (golint)
    • hc/characteristic/carbon_dioxide_peak_level.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeCarbonDioxidePeakLevel should have comment or be unexported (golint)
    • Line 6: warning: exported type CarbonDioxidePeakLevel should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCarbonDioxidePeakLevel should have comment or be unexported (golint)
    • hc/service/contact_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeContactSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type ContactSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewContactSensor should have comment or be unexported (golint)
    • hc/characteristic/swing_mode.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SwingModeSwingDisabled should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeSwingMode should have comment or be unexported (golint)
    • Line 11: warning: exported type SwingMode should have comment or be unexported (golint)
    • Line 15: warning: exported function NewSwingMode should have comment or be unexported (golint)
    • hc/characteristic/volume_control_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const VolumeControlTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeVolumeControlType should have comment or be unexported (golint)
    • Line 13: warning: exported type VolumeControlType should have comment or be unexported (golint)
    • Line 17: warning: exported function NewVolumeControlType should have comment or be unexported (golint)
    • hc/service/leak_sensor.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeLeakSensor should have comment or be unexported (golint)
    • Line 10: warning: exported type LeakSensor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewLeakSensor should have comment or be unexported (golint)
    • hc/service/window.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeWindow should have comment or be unexported (golint)
    • Line 10: warning: exported type Window should have comment or be unexported (golint)
    • Line 18: warning: exported function NewWindow should have comment or be unexported (golint)
    • hc/characteristic/closed_captions.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ClosedCaptionsDisabled should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeClosedCaptions should have comment or be unexported (golint)
    • Line 11: warning: exported type ClosedCaptions should have comment or be unexported (golint)
    • Line 15: warning: exported function NewClosedCaptions should have comment or be unexported (golint)
    • hc/characteristic/lock_current_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const LockCurrentStateUnsecured should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeLockCurrentState should have comment or be unexported (golint)
    • Line 13: warning: exported type LockCurrentState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewLockCurrentState should have comment or be unexported (golint)
    • hc/characteristic/security_system_target_state.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const SecuritySystemTargetStateStayArm should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeSecuritySystemTargetState should have comment or be unexported (golint)
    • Line 13: warning: exported type SecuritySystemTargetState should have comment or be unexported (golint)
    • Line 17: warning: exported function NewSecuritySystemTargetState should have comment or be unexported (golint)
    • hc/characteristic/pairing_features.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePairingFeatures should have comment or be unexported (golint)
    • Line 6: warning: exported type PairingFeatures should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPairingFeatures should have comment or be unexported (golint)
    • hc/characteristic/time_update.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTimeUpdate should have comment or be unexported (golint)
    • Line 6: warning: exported type TimeUpdate should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTimeUpdate should have comment or be unexported (golint)
    • hc/characteristic/valve_type.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const ValveTypeGenericValve should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported const TypeValveType should have comment or be unexported (golint)
    • Line 13: warning: exported type ValveType should have comment or be unexported (golint)
    • Line 17: warning: exported function NewValveType should have comment or be unexported (golint)
    • hc/accessory/accessory.go
    • Line 7: warning: exported type Info should have comment or be unexported (golint)
    • Line 87: warning: exported method Accessory.GetServices should have comment or be unexported (golint)
    • Line 95: warning: exported method Accessory.OnIdentify should have comment or be unexported (golint)
    • Line 99: warning: exported method Accessory.Identify should have comment or be unexported (golint)
    • Line 105: warning: comment on exported method Accessory.AddService should be of the form "AddService ..." (golint)
    • hc/tlv8/reader.go
    • Line 25: 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 50: 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 59: 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 67: 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 75: 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 83: 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 96: 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 111: 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)
    • hc/hap/endpoint/resource.go
    • Line 15: warning: exported type GetImageFunc should have comment or be unexported (golint)
    • Line 34: warning: exported type ImageRequest should have comment or be unexported (golint)
    • Line 54: warning: receiver name r should be consistent with previous receiver name handler for Resource (golint)
    • Line 83: warning: receiver name r should be consistent with previous receiver name handler for Resource (golint)
    • hc/characteristic/lock_management_auto_security_timeout.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeLockManagementAutoSecurityTimeout should have comment or be unexported (golint)
    • Line 6: warning: exported type LockManagementAutoSecurityTimeout should have comment or be unexported (golint)
    • Line 10: warning: exported function NewLockManagementAutoSecurityTimeout should have comment or be unexported (golint)
    • hc/characteristic/wifi_capabilities.go
    • Line 3: warning: exported const TypeWifiCapabilities should have comment or be unexported (golint)
    • Line 5: warning: exported type WifiCapabilities should have comment or be unexported (golint)
    • Line 9: warning: exported function NewWifiCapabilities should have comment or be unexported (golint)
    • hc/characteristic/rotation_direction.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 5: warning: exported const RotationDirectionClockwise should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported const TypeRotationDirection should have comment or be unexported (golint)
    • Line 11: warning: exported type RotationDirection should have comment or be unexported (golint)
    • Line 15: warning: exported function NewRotationDirection should have comment or be unexported (golint)
    • hc/rtp/video_stream_configuration.go
    • Line 4: warning: don't use underscores in Go names; const VideoCodecType_H264 should be VideoCodecTypeH264 (golint)
    • Line 4: warning: exported const VideoCodecType_H264 should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type VideoStreamConfiguration should have comment or be unexported (golint)
    • Line 24: warning: exported type VideoCodecConfiguration should have comment or be unexported (golint)
    • Line 30: warning: exported type VideoCodecParameters should have comment or be unexported (golint)
    • Line 38: warning: exported type VideoCodecProfile should have comment or be unexported (golint)
    • Line 42: warning: exported type VideoCodecLevel should have comment or be unexported (golint)
    • Line 46: warning: exported type VideoCodecPacketization should have comment or be unexported (golint)
    • Line 50: warning: exported type VideoCodecAttributes should have comment or be unexported (golint)
    • Line 56: warning: exported function DefaultVideoStreamConfiguration should have comment or be unexported (golint)
    • Line 64: warning: exported function NewH264VideoCodecConfiguration should have comment or be unexported (golint)
    • hc/gen/golang/category.go
    • Line 19: warning: exported type Categories should have comment or be unexported (golint)
    • Line 23: warning: exported type Category should have comment or be unexported (golint)
    • Line 29: warning: exported function NewCategories should have comment or be unexported (golint)
    • Line 40: warning: exported function NewCategory should have comment or be unexported (golint)
    • hc/characteristic/float.go
    • Line 7: warning: exported type Float should have comment or be unexported (golint)
    • Line 11: warning: exported function NewFloat should have comment or be unexported (golint)
    • Line 21: warning: exported method Float.SetMinValue should have comment or be unexported (golint)
    • Line 25: warning: exported method Float.SetMaxValue should have comment or be unexported (golint)
    • Line 29: warning: exported method Float.SetStepValue should have comment or be unexported (golint)
    • Line 38: warning: exported method Float.GetMinValue should have comment or be unexported (golint)
    • Line 42: warning: exported method Float.GetMaxValue should have comment or be unexported (golint)
    • Line 46: warning: exported method Float.GetStepValue should have comment or be unexported (golint)
    • hc/characteristic/identify.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeIdentify should have comment or be unexported (golint)
    • Line 6: warning: exported type Identify should have comment or be unexported (golint)
    • Line 10: warning: exported function NewIdentify should have comment or be unexported (golint)
    • hc/characteristic/relative_humidity_dehumidifier_threshold.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeRelativeHumidityDehumidifierThreshold should have comment or be unexported (golint)
    • Line 6: warning: exported type RelativeHumidityDehumidifierThreshold should have comment or be unexported (golint)
    • Line 10: warning: exported function NewRelativeHumidityDehumidifierThreshold should have comment or be unexported (golint)
    • hc/service/microphone.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeMicrophone should have comment or be unexported (golint)
    • Line 10: warning: exported type Microphone should have comment or be unexported (golint)
    • Line 17: warning: exported function NewMicrophone should have comment or be unexported (golint)
    • hc/characteristic/configured_name.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeConfiguredName should have comment or be unexported (golint)
    • Line 6: warning: exported type ConfiguredName should have comment or be unexported (golint)
    • Line 10: warning: exported function NewConfiguredName should have comment or be unexported (golint)
    • hc/characteristic/nitrogen_dioxide_density.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeNitrogenDioxideDensity should have comment or be unexported (golint)
    • Line 6: warning: exported type NitrogenDioxideDensity should have comment or be unexported (golint)
    • Line 10: warning: exported function NewNitrogenDioxideDensity should have comment or be unexported (golint)
    • hc/characteristic/pairing_pairings.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypePairingPairings should have comment or be unexported (golint)
    • Line 6: warning: exported type PairingPairings should have comment or be unexported (golint)
    • Line 10: warning: exported function NewPairingPairings should have comment or be unexported (golint)
    • hc/characteristic/target_horizontal_tilt_angle.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeTargetHorizontalTiltAngle should have comment or be unexported (golint)
    • Line 6: warning: exported type TargetHorizontalTiltAngle should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTargetHorizontalTiltAngle should have comment or be unexported (golint)
    • hc/service/irrigation_system.go
    • Line 1: warning: package comment should be of the form "Package service ..." (golint)
    • Line 8: warning: exported const TypeIrrigationSystem should have comment or be unexported (golint)
    • Line 10: warning: exported type IrrigationSystem should have comment or be unexported (golint)
    • Line 18: warning: exported function NewIrrigationSystem should have comment or be unexported (golint)
    • hc/characteristic/obstruction_detected.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeObstructionDetected should have comment or be unexported (golint)
    • Line 6: warning: exported type ObstructionDetected should have comment or be unexported (golint)
    • Line 10: warning: exported function NewObstructionDetected should have comment or be unexported (golint)
    • hc/characteristic/serial_number.go
    • Line 1: warning: package comment should be of the form "Package characteristic ..." (golint)
    • Line 4: warning: exported const TypeSerialNumber should have comment or be unexported (golint)
    • Line 6: warning: exported type SerialNumber should have comment or be unexported (golint)
    • Line 10: warning: exported function NewSerialNumber should have comment or be unexported (golint)

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.


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!