Preparing report...

Report for github.com/BPing/aliyun-live-go-sdk

A    Great!    Found 28 issues across 40 files

Tweet

gofmt82%

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


go_vet100%

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

No problems detected. Good job!


gocyclo100%

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

No problems detected. Good job!


golint35%

Golint is a linter for Go source code.

    • aliyun-live-go-sdk/device/device.go
    • Line 10: warning: exported type DevType should have comment or be unexported (golint)
    • Line 13: warning: exported const CdnDevice should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported function GetDevice should be of the form "GetDevice ..." (golint)
    • aliyun-live-go-sdk/device/cdn/request.go
    • Line 5: warning: comment on exported type Request should be of the form "Request ..." (with optional leading article) (golint)
    • Line 10: warning: exported method Request.Clone should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; var new_obj should be newObj (golint)
    • Line 16: warning: comment on exported function NewCDNRequest should be of the form "NewCDNRequest ..." (golint)
    • aliyun-live-go-sdk/device/live/stream.go
    • Line 10: warning: exported const DefaultStreamTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported method StreamCredentials.Clone should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; var new_obj should be newObj (golint)
    • Line 63: warning: comment on exported method Stream.InitOrUpdate should be of the form "InitOrUpdate ..." (golint)
    • Line 68: warning: comment on exported method Stream.Online should be of the form "Online ..." (golint)
    • Line 159: warning: comment on exported method Stream.RtmpPublishUrl should be of the form "RtmpPublishUrl ..." (golint)
    • Line 177: warning: comment on exported method Stream.RtmpLiveUrls should be of the form "RtmpLiveUrls ..." (golint)
    • Line 184: warning: comment on exported method Stream.HlsLiveUrls should be of the form "HlsLiveUrls ..." (golint)
    • Line 191: warning: comment on exported method Stream.HttpFlvLiveUrls should be of the form "HttpFlvLiveUrls ..." (golint)
    • Line 212: warning: comment on exported method Stream.CreateRecordIndexFiles should be of the form "CreateRecordIndexFiles ..." (golint)
    • Line 222: warning: comment on exported method Stream.RecordContent should be of the form "RecordContent ..." (golint)
    • Line 232: warning: comment on exported method Stream.RecordIndexFiles should be of the form "RecordIndexFiles ..." (golint)
    • Line 242: warning: comment on exported method Stream.RecordIndexFile should be of the form "RecordIndexFile ..." (golint)
    • Line 252: warning: comment on exported method Stream.FrameRateAndBitRateData should be of the form "FrameRateAndBitRateData ..." (golint)
    • Line 264: warning: comment on exported method Stream.SnapshotInfo should be of the form "SnapshotInfo ..." (golint)
    • Line 272: warning: comment on exported method Stream.StartMultipleStreamMixService should be of the form "StartMultipleStreamMixService ..." (golint)
    • Line 278: warning: comment on exported method Stream.StopMultipleStreamMixService should be of the form "StopMultipleStreamMixService ..." (golint)
    • Line 284: warning: comment on exported method Stream.AddMultipleStream should be of the form "AddMultipleStream ..." (golint)
    • Line 299: warning: comment on exported method Stream.RemoveMultipleStream should be of the form "RemoveMultipleStream ..." (golint)
    • aliyun-live-go-sdk/aliyun/client.go
    • Line 30: warning: exported method Client.SetDebug should have comment or be unexported (golint)
    • Line 70: warning: comment on exported function NewClientTimeoutCtx should be of the form "NewClientTimeoutCtx ..." (golint)
    • Line 93: warning: comment on exported function NewClientCtx should be of the form "NewClientCtx ..." (golint)
    • aliyun-live-go-sdk/device/cdn/cdnconfig.go
    • Line 13: warning: comment on exported method CDN.DomainConfigs should be of the form "DomainConfigs ..." (golint)
    • Line 70: warning: comment on exported method CDN.SetIgnoreQueryStringConfig should be of the form "SetIgnoreQueryStringConfig ..." (golint)
    • Line 78: warning: comment on exported method CDN.SetRangeConfig should be of the form "SetRangeConfig ..." (golint)
    • Line 86: warning: comment on exported method CDN.SetVideoSeekConfig should be of the form "SetVideoSeekConfig ..." (golint)
    • Line 94: warning: comment on exported method CDN.SetWafConfig should be of the form "SetWafConfig ..." (golint)
    • Line 102: warning: comment on exported method CDN.SetCcConfig should be of the form "SetCcConfig ..." (golint)
    • Line 127: warning: comment on exported method CDN.SetSourceHostConfig should be of the form "SetSourceHostConfig ..." (golint)
    • Line 142: warning: comment on exported method CDN.SetErrorPageConfig should be of the form "SetErrorPageConfig ..." (golint)
    • Line 165: warning: comment on exported method CDN.SetForceRedirectConfig should be of the form "SetForceRedirectConfig ..." (golint)
    • Line 180: warning: comment on exported method CDN.SetReferConfig should be of the form "SetReferConfig ..." (golint)
    • Line 203: warning: comment on exported method CDN.SetFileCacheExpiredConfig should be of the form "SetFileCacheExpiredConfig ..." (golint)
    • Line 223: warning: comment on exported method CDN.SetPathCacheExpiredConfig should be of the form "SetPathCacheExpiredConfig ..." (golint)
    • Line 243: warning: comment on exported method CDN.ModifyFileCacheExpiredConfig should be of the form "ModifyFileCacheExpiredConfig ..." (golint)
    • Line 264: warning: comment on exported method CDN.ModifyPathCacheExpiredConfig should be of the form "ModifyPathCacheExpiredConfig ..." (golint)
    • Line 285: warning: comment on exported method CDN.DeleteCacheExpiredConfig should be of the form "DeleteCacheExpiredConfig ..." (golint)
    • Line 301: warning: comment on exported method CDN.SetReqAuthConfig should be of the form "SetReqAuthConfig ..." (golint)
    • Line 325: warning: comment on exported method CDN.SetHttpHeaderConfig should be of the form "SetHttpHeaderConfig ..." (golint)
    • Line 345: warning: comment on exported method CDN.ModifyHttpHeaderConfig should be of the form "ModifyHttpHeaderConfig ..." (golint)
    • Line 366: warning: comment on exported method CDN.DeleteHttpHeaderConfig should be of the form "DeleteHttpHeaderConfig ..." (golint)
    • aliyun-live-go-sdk/device/cdn/cdnrefresh.go
    • Line 12: warning: comment on exported method CDN.RefreshObjectCaches should be of the form "RefreshObjectCaches ..." (golint)
    • Line 29: warning: comment on exported method CDN.PushObjectCache should be of the form "PushObjectCache ..." (golint)
    • Line 43: warning: comment on exported method CDN.GetRefreshTasks should be of the form "GetRefreshTasks ..." (golint)
    • Line 66: warning: comment on exported method CDN.GetRefreshQuota should be of the form "GetRefreshQuota ..." (golint)
    • aliyun-live-go-sdk/device/live/live.go
    • Line 15: warning: package comment should be of the form "Package live ..." (golint)
    • Line 15: warning: package comment should not have leading space (golint)
    • Line 51: warning: comment on exported function NewLive should be of the form "NewLive ..." (golint)
    • Line 60: warning: exported function NewLiveWithCtx should have comment or be unexported (golint)
    • Line 159: warning: comment on exported method Live.ForbidLiveStreamWithPublisher should be of the form "ForbidLiveStreamWithPublisher ..." (golint)
    • Line 177: warning: comment on exported method Live.ResumeLiveStreamWithPublisher should be of the form "ResumeLiveStreamWithPublisher ..." (golint)
    • Line 191: warning: exported method Live.GetDomainName should have comment or be unexported (golint)
    • Line 196: warning: comment on exported method Live.SetStreamCredentials should be of the form "SetStreamCredentials ..." (golint)
    • Line 202: warning: comment on exported method Live.SetAppName should be of the form "SetAppName ..." (golint)
    • Line 208: warning: exported method Live.GetAppName should have comment or be unexported (golint)
    • Line 213: warning: comment on exported method Live.SetAction should be of the form "SetAction ..." (golint)
    • Line 218: warning: exported method Live.SetDebug should have comment or be unexported (golint)
    • Line 223: warning: comment on exported method Live.SetVideoCenter should be of the form "SetVideoCenter ..." (golint)
    • aliyun-live-go-sdk/device/live/livesnapshot.go
    • Line 15: warning: comment on exported method Live.AddLiveAppSnapshotConfig should be of the form "AddLiveAppSnapshotConfig ..." (golint)
    • Line 28: warning: comment on exported method Live.UpdateLiveAppSnapshotConfig should be of the form "UpdateLiveAppSnapshotConfig ..." (golint)
    • aliyun-live-go-sdk/device/live/livetranscode.go
    • Line 11: warning: comment on exported method Live.AddLiveStreamTranscode should be of the form "AddLiveStreamTranscode ..." (golint)
    • Line 35: warning: comment on exported method Live.DeleteLiveStreamTranscode should be of the form "DeleteLiveStreamTranscode ..." (golint)
    • aliyun-live-go-sdk/device/live/liveverify.go
    • Line 10: warning: exported type SnapshotDetectPornParam should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type AddSnapshotDetectPornParam should be of the form "AddSnapshotDetectPornParam ..." (with optional leading article) (golint)
    • aliyun-live-go-sdk/example/live.go
    • Line 160: warning: comment on exported function LivePullStreamInfo should be of the form "LivePullStreamInfo ..." (golint)
    • Line 186: warning: comment on exported function NotifyUrlConfig should be of the form "NotifyUrlConfig ..." (golint)
    • Line 212: warning: comment on exported function RecordVodExample should be of the form "RecordVodExample ..." (golint)
    • Line 237: warning: comment on exported function VerifyExample should be of the form "VerifyExample ..." (golint)
    • Line 302: warning: comment on exported function MonitorExample should be of the form "MonitorExample ..." (golint)
    • Line 338: warning: comment on exported function MixStream should be of the form "MixStream ..." (golint)
    • aliyun-live-go-sdk/device/live/request.go
    • Line 14: warning: exported method Request.ToArgs should have comment or be unexported (golint)
    • Line 21: warning: exported method Request.Sign should have comment or be unexported (golint)
    • Line 26: warning: exported method Request.Clone should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; var new_obj should be newObj (golint)
    • Line 32: warning: exported function NewLiveRequest should have comment or be unexported (golint)
    • aliyun-live-go-sdk/device/cdn/cdn.go
    • Line 15: warning: package comment should be of the form "Package cdn ..." (golint)
    • Line 30: warning: exported const OpenCdnServiceAction should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: comment on exported type CDN should be of the form "CDN ..." (with optional leading article) (golint)
    • Line 80: warning: comment on exported function NewCDN should be of the form "NewCDN ..." (golint)
    • Line 90: warning: exported function NewCDNCtx should have comment or be unexported (golint)
    • Line 98: warning: exported method CDN.SetDebug should have comment or be unexported (golint)
    • Line 152: warning: comment on exported method CDN.DeleteCdnDomain should be of the form "DeleteCdnDomain ..." (golint)
    • Line 196: warning: comment on exported method CDN.DomainDetail should be of the form "DomainDetail ..." (golint)
    • Line 237: warning: comment on exported method CDN.StartCdnDomain should be of the form "StartCdnDomain ..." (golint)
    • Line 248: warning: comment on exported method CDN.StopCdnDomain should be of the form "StopCdnDomain ..." (golint)
    • aliyun-live-go-sdk/device/cdn/response.go
    • Line 8: warning: comment on exported type CdnType should be of the form "CdnType ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported type SourceType should be of the form "SourceType ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported type DomainSearchType should be of the form "DomainSearchType ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type DomainStatus should be of the form "DomainStatus ..." (with optional leading article) (golint)
    • Line 20: warning: comment on exported type CdnPayType should be of the form "CdnPayType ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported type ConfigName should be of the form "ConfigName ..." (with optional leading article) (golint)
    • Line 26: warning: comment on exported type RefreshObjectType should be of the form "RefreshObjectType ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported type PageType should be of the form "PageType ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported type RedirectType should be of the form "RedirectType ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type ReferType should be of the form "ReferType ..." (with optional leading article) (golint)
    • Line 38: warning: comment on exported type CacheType should be of the form "CacheType ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported type AuthType should be of the form "AuthType ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported const WebCdnType should be of the form "WebCdnType ..." (golint)
    • Line 47: warning: exported const DownloadCdnType should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: comment on exported const IpaddrSourceType should be of the form "IpaddrSourceType ..." (golint)
    • Line 59: warning: comment on exported const FuzzyMatch should be of the form "FuzzyMatch ..." (golint)
    • Line 65: warning: comment on exported const OnlineDomainStatus should be of the form "OnlineDomainStatus ..." (golint)
    • Line 74: warning: comment on exported const PayByTrafficType should be of the form "PayByTrafficType ..." (golint)
    • Line 79: warning: comment on exported const CacheExpiredConfig should be of the form "CacheExpiredConfig ..." (golint)
    • Line 96: warning: comment on exported const FileRefreshType should be of the form "FileRefreshType ..." (golint)
    • Line 100: warning: comment on exported const DefaultPageType should be of the form "DefaultPageType ..." (golint)
    • Line 105: warning: comment on exported const OffRedirectType should be of the form "OffRedirectType ..." (golint)
    • Line 110: warning: comment on exported const BlockReferType should be of the form "BlockReferType ..." (golint)
    • Line 114: warning: comment on exported const SuffixCacheType should be of the form "SuffixCacheType ..." (golint)
    • Line 118: warning: comment on exported const NoAuthType should be of the form "NoAuthType ..." (golint)
    • Line 125: warning: exported type DomainInfo should have comment or be unexported (golint)
    • Line 147: warning: exported type DomainInfoResponse should have comment or be unexported (golint)
    • aliyun-live-go-sdk/util/iso6801.go
    • Line 14: warning: exported const FormatISO8601 should have comment or be unexported (golint)
    • Line 22: warning: comment on exported function NewISO6801Time should be of the form "NewISO6801Time ..." (golint)
    • aliyun-live-go-sdk/device/live/constant.go
    • Line 4: warning: comment on exported const DescribeLiveStreamsPublishListAction should be of the form "DescribeLiveStreamsPublishListAction ..." (golint)
    • Line 6: warning: exported const DescribeLiveStreamsOnlineListAction should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: comment on exported const AddLiveAppRecordConfigAction should be of the form "AddLiveAppRecordConfigAction ..." (golint)
    • Line 23: warning: comment on exported const AddLiveAppSnapshotConfigAction should be of the form "AddLiveAppSnapshotConfigAction ..." (golint)
    • Line 30: warning: comment on exported const AddLiveStreamTranscodeAction should be of the form "AddLiveStreamTranscodeAction ..." (golint)
    • Line 35: warning: comment on exported const StartMixStreamsServiceAction should be of the form "StartMixStreamsServiceAction ..." (golint)
    • Line 39: warning: comment on exported const AddLiveMixConfigAction should be of the form "AddLiveMixConfigAction ..." (golint)
    • Line 52: warning: comment on exported const AddLivePullStreamInfoConfigAction should be of the form "AddLivePullStreamInfoConfigAction ..." (golint)
    • Line 57: warning: comment on exported const SetLiveStreamsNotifyUrlConfigAction should be of the form "SetLiveStreamsNotifyUrlConfigAction ..." (golint)
    • Line 62: warning: comment on exported const AddLiveRecordVodConfigAction should be of the form "AddLiveRecordVodConfigAction ..." (golint)
    • Line 67: warning: comment on exported const DescribeLiveDomainBpsDataAction should be of the form "DescribeLiveDomainBpsDataAction ..." (golint)
    • Line 76: warning: comment on exported const AddLiveSnapshotDetectPornConfigAction should be of the form "AddLiveSnapshotDetectPornConfigAction ..." (golint)
    • Line 86: warning: comment on exported const DefaultVideoCenter should be of the form "DefaultVideoCenter ..." (golint)
    • Line 90: warning: exported type RecordType should have comment or be unexported (golint)
    • Line 93: warning: exported const NilRecordType should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: exported type SceneN should have comment or be unexported (golint)
    • Line 102: warning: exported const NilSceneN should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported type OrderType should have comment or be unexported (golint)
    • Line 112: warning: exported const NilOrderType should have comment (or a comment on this block) or be unexported (golint)
    • aliyun-live-go-sdk/device/live/response.go
    • Line 5: warning: comment on exported type LiveBase should be of the form "LiveBase ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported type StreamBase should be of the form "StreamBase ..." (with optional leading article) (golint)
    • Line 18: warning: exported type PageInfoStr should have comment or be unexported (golint)
    • Line 23: warning: exported type PageInfo should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type OnlineInfoResponse should be of the form "OnlineInfoResponse ..." (with optional leading article) (golint)
    • Line 36: warning: exported type OnlineUserInfo should have comment or be unexported (golint)
    • Line 40: warning: exported type LiveStreamOnlineInfo should have comment or be unexported (golint)
    • Line 48: warning: comment on exported type StreamListResponse should be of the form "StreamListResponse ..." (with optional leading article) (golint)
    • Line 56: warning: exported type StreamUrls should have comment or be unexported (golint)
    • Line 62: warning: comment on exported type LiveStreamControlInfo should be of the form "LiveStreamControlInfo ..." (with optional leading article) (golint)
    • Line 70: warning: comment on exported type OnlineUserNum should be of the form "OnlineUserNum ..." (with optional leading article) (golint)
    • Line 76: warning: exported type LiveStreamOnlineUserNumInfo should have comment or be unexported (golint)
    • Line 83: warning: comment on exported type OssInfo should be of the form "OssInfo ..." (with optional leading article) (golint)
    • Line 93: warning: comment on exported type LiveAppRecord should be of the form "LiveAppRecord ..." (with optional leading article) (golint)
    • Line 103: warning: exported type FrameRateAndBitRateInfosResponse should have comment or be unexported (golint)
    • Line 108: warning: exported type FrameRateAndBitRateInfos should have comment or be unexported (golint)
    • Line 112: warning: comment on exported type FrameRateAndBitRateInfo should be of the form "FrameRateAndBitRateInfo ..." (with optional leading article) (golint)
    • Line 122: warning: comment on exported type RecordIndexInfoListResponse should be of the form "RecordIndexInfoListResponse ..." (with optional leading article) (golint)
    • Line 128: warning: exported type RecordInfoListResponse should have comment or be unexported (golint)
    • Line 133: warning: comment on exported type RecordIndexInfoResponse should be of the form "RecordIndexInfoResponse ..." (with optional leading article) (golint)
    • Line 139: warning: exported type RecordInfoResponse should have comment or be unexported (golint)
    • Line 144: warning: exported type RecordIndexInfoList should have comment or be unexported (golint)
    • Line 148: warning: exported type RecordInfoList should have comment or be unexported (golint)
    • Line 152: warning: exported type RecordInfo should have comment or be unexported (golint)
    • Line 172: warning: comment on exported type RecordIndexInfo should be of the form "RecordIndexInfo ..." (with optional leading article) (golint)
    • Line 189: warning: exported type RecordContentInfoListResponse should have comment or be unexported (golint)
    • Line 194: warning: comment on exported type RecordContentInfoList should be of the form "RecordContentInfoList ..." (with optional leading article) (golint)
    • Line 199: warning: exported type RecordContentInfo should have comment or be unexported (golint)
    • Line 208: warning: comment on exported type SnapshotConfig should be of the form "SnapshotConfig ..." (with optional leading article) (golint)
    • Line 216: warning: comment on exported type LiveSnapshotConfigResponse should be of the form "LiveSnapshotConfigResponse ..." (with optional leading article) (golint)
    • Line 227: warning: comment on exported type LiveSnapshotParam should be of the form "LiveSnapshotParam ..." (with optional leading article) (golint)
    • Line 234: warning: exported type LiveStreamSnapshotConfig should have comment or be unexported (golint)
    • Line 240: warning: comment on exported type StreamSnapshotInfoResponse should be of the form "StreamSnapshotInfoResponse ..." (with optional leading article) (golint)
    • Line 249: warning: comment on exported type StreamSnapshotInfo should be of the form "StreamSnapshotInfo ..." (with optional leading article) (golint)
    • Line 255: warning: comment on exported type StreamTranscodeInfoResponse should be of the form "StreamTranscodeInfoResponse ..." (with optional leading article) (golint)
    • Line 264: warning: exported type DomainTranscodeInfo should have comment or be unexported (golint)
    • Line 275: warning: comment on exported type MixStreamsInfoResponse should be of the form "MixStreamsInfoResponse ..." (with optional leading article) (golint)
    • Line 281: warning: exported type MixStreamsInfoList should have comment or be unexported (golint)
    • Line 285: warning: exported type MixStreamsInfo should have comment or be unexported (golint)
    • Line 291: warning: comment on exported type PullStreamConfigResponse should be of the form "PullStreamConfigResponse ..." (with optional leading article) (golint)
    • Line 298: warning: exported type AppRecordList should have comment or be unexported (golint)
    • Line 302: warning: exported type AppRecord should have comment or be unexported (golint)
    • Line 311: warning: comment on exported type NotifyUrlConfigResponse should be of the form "NotifyUrlConfigResponse ..." (with optional leading article) (golint)
    • Line 322: warning: exported type MixNotifyConfigResponse should have comment or be unexported (golint)
    • Line 327: warning: comment on exported type RecordVodConfigsResponse should be of the form "RecordVodConfigsResponse ..." (with optional leading article) (golint)
    • Line 339: warning: comment on exported type RecordVodConfigs should be of the form "RecordVodConfigs ..." (with optional leading article) (golint)
    • Line 354: warning: exported type DomainBpsDataResponse should have comment or be unexported (golint)
    • Line 365: warning: exported type DomainBpsDataInfo should have comment or be unexported (golint)
    • Line 372: warning: comment on exported type RecordDataInfoResponse should be of the form "RecordDataInfoResponse ..." (with optional leading article) (golint)
    • Line 380: warning: comment on exported type RecordDataInfo should be of the form "RecordDataInfo ..." (with optional leading article) (golint)
    • Line 391: warning: comment on exported type SnapshotDataInfoResponse should be of the form "SnapshotDataInfoResponse ..." (with optional leading article) (golint)
    • Line 399: warning: exported type SnapshotDataInfo should have comment or be unexported (golint)
    • Line 404: warning: comment on exported type DomainTrafficDataResponse should be of the form "DomainTrafficDataResponse ..." (with optional leading article) (golint)
    • Line 416: warning: exported type TrafficDataInfo should have comment or be unexported (golint)
    • Line 423: warning: comment on exported type TranscodeDataInfoResponse should be of the form "TranscodeDataInfoResponse ..." (with optional leading article) (golint)
    • Line 431: warning: exported type TranscodeDataInfo should have comment or be unexported (golint)
    • Line 440: warning: comment on exported type StreamUserNumInfoResponse should be of the form "StreamUserNumInfoResponse ..." (with optional leading article) (golint)
    • Line 448: warning: exported type StreamUserNumInfo should have comment or be unexported (golint)
    • Line 457: warning: exported type DetectNotifyConfigResponse should have comment or be unexported (golint)
    • Line 465: warning: exported type SnapshotDetectPornConfigResponse should have comment or be unexported (golint)
    • Line 477: warning: exported type SnapshotDetectPornConfig should have comment or be unexported (golint)
    • aliyun-live-go-sdk/aliyun/request.go
    • Line 13: warning: exported type Request should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method BaseRequest.ToArgs should be of the form "ToArgs ..." (golint)
    • Line 65: warning: comment on exported method BaseRequest.Sign should be of the form "Sign ..." (golint)
    • Line 73: warning: exported method BaseRequest.HttpRequest should have comment or be unexported (golint)
    • Line 82: warning: exported method BaseRequest.ResponseFormat should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method BaseRequest.Clone should be of the form "Clone ..." (golint)
    • Line 98: warning: exported method BaseRequest.SetArgs should have comment or be unexported (golint)
    • Line 102: warning: exported method BaseRequest.DelArgs should have comment or be unexported (golint)
    • Line 106: warning: comment on exported function NewBaseRequest should be of the form "NewBaseRequest ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign95%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!