Preparing report...

Report for github.com/dbdd4us/qcloudapi-sdk-go

A    Great!    Found 37 issues across 43 files

Tweet

gofmt93%

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!


gocyclo93%

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.


golint18%

Golint is a linter for Go source code.

    • qcloudapi-sdk-go/common/query.go
    • Line 11: warning: exported type QCloudArg should have comment or be unexported (golint)
    • Line 15: warning: exported function EncodeStruct should have comment or be unexported (golint)
    • Line 38: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • qcloudapi-sdk-go/vpc/vpc.go
    • Line 3: warning: exported type Response should have comment or be unexported (golint)
    • Line 8: warning: exported type DescribeVpcExArgs should have comment or be unexported (golint)
    • Line 17: warning: exported type DescribeVpcExResponse should have comment or be unexported (golint)
    • Line 23: warning: exported type Vpc should have comment or be unexported (golint)
    • Line 40: warning: exported method Client.DescribeVpcEx should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cvm/instance.go
    • Line 6: warning: exported const FilterNameZone should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type DescribeInstancesArgs should have comment or be unexported (golint)
    • Line 26: warning: exported type Filter should have comment or be unexported (golint)
    • Line 31: warning: exported function NewFilter should have comment or be unexported (golint)
    • Line 35: warning: exported type CvmResponse should have comment or be unexported (golint)
    • Line 39: warning: exported type DescribeInstancesResponse should have comment or be unexported (golint)
    • Line 45: warning: exported type Placement should have comment or be unexported (golint)
    • Line 51: warning: exported type Disk should have comment or be unexported (golint)
    • Line 57: warning: exported type InternetAccessible should have comment or be unexported (golint)
    • Line 62: warning: exported type VirtualPrivateCloud should have comment or be unexported (golint)
    • Line 68: warning: exported type InstanceInfo should have comment or be unexported (golint)
    • Line 91: warning: exported method Client.DescribeInstances should have comment or be unexported (golint)
    • qcloudapi-sdk-go/monitor/client.go
    • Line 10: warning: exported const MonitorHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/metadata/client.go
    • Line 17: warning: exported type Request should have comment or be unexported (golint)
    • Line 21: warning: exported const ENDPOINT should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type IMetaDataClient should have comment or be unexported (golint)
    • Line 50: warning: exported type MetaData should have comment or be unexported (golint)
    • Line 54: warning: exported function NewMetaData should have comment or be unexported (golint)
    • Line 63: warning: exported method MetaData.UUID should have comment or be unexported (golint)
    • Line 72: warning: exported method MetaData.InstanceID should have comment or be unexported (golint)
    • Line 81: warning: exported method MetaData.Mac should have comment or be unexported (golint)
    • Line 90: warning: exported method MetaData.PrivateIPv4 should have comment or be unexported (golint)
    • Line 99: warning: exported method MetaData.PublicIPv4 should have comment or be unexported (golint)
    • Line 108: warning: exported method MetaData.Region should have comment or be unexported (golint)
    • Line 117: warning: exported method MetaData.Zone should have comment or be unexported (golint)
    • Line 126: warning: comment on exported type MetaDataClient should be of the form "MetaDataClient ..." (with optional leading article) (golint)
    • Line 132: warning: exported method MetaDataClient.Resource should have comment or be unexported (golint)
    • Line 137: warning: exported method MetaDataClient.Url should have comment or be unexported (golint)
    • Line 177: warning: exported method MetaDataClient.Go should have comment or be unexported (golint)
    • Line 177: warning: receiver name vpc should be consistent with previous receiver name m for MetaDataClient (golint)
    • Line 187: warning: exported type TimeoutError should have comment or be unexported (golint)
    • Line 231: warning: exported method MetaData.EniPrimaryIpv4 should have comment or be unexported (golint)
    • Line 244: warning: exported method MetaData.EniIpv4GateWay should have comment or be unexported (golint)
    • Line 257: warning: exported method MetaData.EniIpv4PublicIpv4 should have comment or be unexported (golint)
    • Line 270: warning: comment on exported method MetaData.EniIpv4PublicIpv4Mode should be of the form "EniIpv4PublicIpv4Mode ..." (golint)
    • Line 284: warning: comment on exported method MetaData.EniIpv4SubnetMask should be of the form "EniIpv4SubnetMask ..." (golint)
    • Line 307: warning: exported method MetaData.EniMacs should have comment or be unexported (golint)
    • Line 318: warning: exported method MetaData.EniIpv4List should have comment or be unexported (golint)
    • qcloudapi-sdk-go/common/client.go
    • Line 21: warning: exported const RequestMethodGET should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type Client should have comment or be unexported (golint)
    • Line 34: warning: exported type Opts should have comment or be unexported (golint)
    • Line 45: warning: exported type CredentialInterface should have comment or be unexported (golint)
    • Line 52: warning: exported type CredentialValues should have comment or be unexported (golint)
    • Line 54: warning: exported type Credential should have comment or be unexported (golint)
    • Line 59: warning: exported method Credential.GetSecretId should have comment or be unexported (golint)
    • Line 63: warning: exported method Credential.GetSecretKey should have comment or be unexported (golint)
    • Line 67: warning: exported method Credential.Values should have comment or be unexported (golint)
    • Line 71: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 93: warning: exported method Client.Invoke should have comment or be unexported (golint)
    • Line 134: warning: exported method Client.InvokeWithGET should have comment or be unexported (golint)
    • Line 226: warning: exported method Client.InvokeWithPOST should have comment or be unexported (golint)
    • qcloudapi-sdk-go/common/errors.go
    • Line 4: warning: exported const NoErr should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type LegacyAPIError should have comment or be unexported (golint)
    • Line 20: warning: exported type VersionAPIError should have comment or be unexported (golint)
    • Line 35: warning: exported type ClientError should have comment or be unexported (golint)
    • qcloudapi-sdk-go/clb/client.go
    • Line 10: warning: exported const CLBHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/tag/client.go
    • Line 10: warning: exported const TagHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/vpc/client.go
    • Line 10: warning: exported const VpcHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/snap/client.go
    • Line 10: warning: exported const SnapHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cbs/wait.go
    • Line 10: warning: exported const TaskCheckInterval should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type Storage should have comment or be unexported (golint)
    • Line 50: warning: exported method Storage.GetInfo should have comment or be unexported (golint)
    • Line 65: warning: exported type DoFunc should have comment or be unexported (golint)
    • Line 66: warning: exported type Checker should have comment or be unexported (golint)
    • Line 68: warning: exported function NewStorage should have comment or be unexported (golint)
    • Line 75: warning: exported function WaitUntilDone should have comment or be unexported (golint)
    • qcloudapi-sdk-go/ccs/client.go
    • Line 10: warning: exported const CcsHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/account/project.go
    • Line 3: warning: exported type Response should have comment or be unexported (golint)
    • Line 8: warning: exported type DescribeProjectArgs should have comment or be unexported (golint)
    • Line 10: warning: exported type DescribeProjectResponse should have comment or be unexported (golint)
    • Line 15: warning: exported type Project should have comment or be unexported (golint)
    • Line 23: warning: exported method Client.DescribeProject should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cvm/client.go
    • Line 10: warning: exported const CvmHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/clb/lb.go
    • Line 4: warning: exported const LoadBalancerTypePublicNetworkWithDailyRate should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type DescribeLoadBalancersArgs should have comment or be unexported (golint)
    • Line 27: warning: exported type DescribeLoadBalancersResponse should have comment or be unexported (golint)
    • Line 33: warning: exported type LoadBalancer should have comment or be unexported (golint)
    • Line 49: warning: exported method Client.DescribeLoadBalancers should have comment or be unexported (golint)
    • Line 58: warning: exported type InquiryLBPriceArgs should have comment or be unexported (golint)
    • Line 62: warning: exported type InquiryLBPriceResponse should have comment or be unexported (golint)
    • Line 67: warning: exported method Client.InquiryLBPrice should have comment or be unexported (golint)
    • Line 76: warning: exported type CreateLoadBalancerArgs should have comment or be unexported (golint)
    • Line 87: warning: exported type CreateLoadBalancerResponse should have comment or be unexported (golint)
    • Line 94: warning: exported method CreateLoadBalancerResponse.Id should have comment or be unexported (golint)
    • Line 98: warning: exported method CreateLoadBalancerResponse.GetUnLoadBalancerIds should have comment or be unexported (golint)
    • Line 105: warning: exported method Client.CreateLoadBalancer should have comment or be unexported (golint)
    • Line 114: warning: exported type ModifyLoadBalancerAttributesArgs should have comment or be unexported (golint)
    • Line 120: warning: exported type ModifyLoadBalancerAttributesResponse should have comment or be unexported (golint)
    • Line 125: warning: exported method ModifyLoadBalancerAttributesResponse.Id should have comment or be unexported (golint)
    • Line 129: warning: exported method Client.ModifyLoadBalancerAttributes should have comment or be unexported (golint)
    • Line 138: warning: exported type DeleteLoadBalancersArgs should have comment or be unexported (golint)
    • Line 142: warning: exported type DeleteLoadBalancersResponse should have comment or be unexported (golint)
    • Line 147: warning: exported method DeleteLoadBalancersResponse.Id should have comment or be unexported (golint)
    • Line 151: warning: exported method Client.DeleteLoadBalancers should have comment or be unexported (golint)
    • Line 163: warning: exported type DescribeLoadBalancersTaskResultArgs should have comment or be unexported (golint)
    • Line 167: warning: exported method DescribeLoadBalancersTaskResultArgs.Id should have comment or be unexported (golint)
    • Line 171: warning: exported type DescribeLoadBalancersTaskResultResponse should have comment or be unexported (golint)
    • Line 178: warning: exported method Client.DescribeLoadBalancersTaskResult should have comment or be unexported (golint)
    • qcloudapi-sdk-go/tag/tag.go
    • Line 3: warning: exported type ModifyResourceTagsArgs should have comment or be unexported (golint)
    • Line 10: warning: exported type Tag should have comment or be unexported (golint)
    • Line 14: warning: exported type ModifyResourceTagsArgsResponse should have comment or be unexported (golint)
    • Line 18: warning: exported method Client.ModifyResourceTags should have comment or be unexported (golint)
    • Line 27: warning: exported type GetResourcesByTagsArgs should have comment or be unexported (golint)
    • Line 34: warning: exported type TagFilter should have comment or be unexported (golint)
    • Line 39: warning: exported type GetResourcesByTagsResponse should have comment or be unexported (golint)
    • Line 49: warning: exported type Resource should have comment or be unexported (golint)
    • Line 57: warning: exported method Client.GetResourcesByTags should have comment or be unexported (golint)
    • Line 66: warning: exported type GetResourceTagsByResourceIdsArgs should have comment or be unexported (golint)
    • Line 76: warning: exported type GetResourceTagsByResourceIdsResponse should have comment or be unexported (golint)
    • Line 86: warning: exported type ResourceTag should have comment or be unexported (golint)
    • Line 92: warning: exported method Client.GetResourceTagsByResourceIds should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cbs/cbs.go
    • Line 6: warning: exported const PayModePrePay should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type Response should have comment or be unexported (golint)
    • Line 27: warning: exported type DescribeCbsStorageArgs should have comment or be unexported (golint)
    • Line 38: warning: exported type StorageSet should have comment or be unexported (golint)
    • Line 59: warning: exported type DescribeCbsStorageResponse should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.DescribeCbsStorage should have comment or be unexported (golint)
    • Line 74: warning: exported type CreateCbsStorageArgs should have comment or be unexported (golint)
    • Line 84: warning: exported type CreateCbsStorageResponse should have comment or be unexported (golint)
    • Line 89: warning: exported method Client.CreateCbsStorage should have comment or be unexported (golint)
    • Line 98: warning: exported type AttachCbsStorageArgs should have comment or be unexported (golint)
    • Line 103: warning: exported type AttachCbsStorageResponse should have comment or be unexported (golint)
    • Line 108: warning: exported type SubAttachDetachTask should have comment or be unexported (golint)
    • Line 113: warning: exported method Client.AttachCbsStorage should have comment or be unexported (golint)
    • Line 126: warning: exported type DetachCbsStorageArgs should have comment or be unexported (golint)
    • Line 130: warning: exported type DetachCbsStorageResponse should have comment or be unexported (golint)
    • Line 135: warning: exported method Client.DetachCbsStorage should have comment or be unexported (golint)
    • Line 147: warning: exported type TerminateCbsStorageArgs should have comment or be unexported (golint)
    • Line 151: warning: exported type TerminateCbsStorageResponse should have comment or be unexported (golint)
    • Line 156: warning: exported method Client.TerminateCbsStorage should have comment or be unexported (golint)
    • Line 168: warning: exported type ModifyCbsRenewFlagArgs should have comment or be unexported (golint)
    • Line 173: warning: exported type ModifyCbsRenewFlagResponse should have comment or be unexported (golint)
    • Line 177: warning: exported method Client.ModifyCbsRenewFlag should have comment or be unexported (golint)
    • Line 190: warning: exported type ModifyCbsStorageAttributeArg should have comment or be unexported (golint)
    • Line 195: warning: exported type ModifyCbsStorageAttribute should have comment or be unexported (golint)
    • Line 199: warning: exported method Client.ModifyCbsStorageAttribute should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cbs/client.go
    • Line 10: warning: exported const CbsHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/ccs/cluster_route_table.go
    • Line 3: warning: exported type CreateClusterRouteTableArgs should have comment or be unexported (golint)
    • Line 10: warning: exported type CreateClusterRouteTableResponse should have comment or be unexported (golint)
    • Line 14: warning: exported type DeleteClusterRouteTableArgs should have comment or be unexported (golint)
    • Line 18: warning: exported type DeleteClusterRouteTableResponse should have comment or be unexported (golint)
    • Line 22: warning: exported type DescribeClusterRouteTableArgs should have comment or be unexported (golint)
    • Line 25: warning: exported type DescribeClusterRouteTableResponse should have comment or be unexported (golint)
    • Line 33: warning: exported type RouteTableInfo should have comment or be unexported (golint)
    • Line 39: warning: exported method Client.CreateClusterRouteTable should have comment or be unexported (golint)
    • Line 48: warning: exported method Client.DeleteClusterRouteTable should have comment or be unexported (golint)
    • Line 57: warning: exported method Client.DescribeClusterRouteTable should have comment or be unexported (golint)
    • qcloudapi-sdk-go/monitor/monitor.go
    • Line 13: warning: exported const NameSpaceQceDocker should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type QCloudMonitorAPITime should have comment or be unexported (golint)
    • Line 23: warning: exported method QCloudMonitorAPITime.EncodeStructWithPrefix should have comment or be unexported (golint)
    • Line 29: warning: exported method QCloudMonitorAPITime.MarshalJSON should have comment or be unexported (golint)
    • Line 43: warning: exported method QCloudMonitorAPITime.UnmarshalJSON should have comment or be unexported (golint)
    • Line 58: warning: exported type Response should have comment or be unexported (golint)
    • Line 64: warning: exported type GetMonitorDataArgs should have comment or be unexported (golint)
    • Line 73: warning: exported type Dimension should have comment or be unexported (golint)
    • Line 78: warning: exported type GetMonitorDataResponse should have comment or be unexported (golint)
    • Line 86: warning: exported type BatchGetMonitorDataArgs should have comment or be unexported (golint)
    • Line 95: warning: exported type Batch should have comment or be unexported (golint)
    • Line 99: warning: exported type BatchGetMonitorDataResponse should have comment or be unexported (golint)
    • Line 107: warning: exported method Client.GetMonitorData should have comment or be unexported (golint)
    • Line 116: warning: exported method Client.BatchGetMonitorData should have comment or be unexported (golint)
    • qcloudapi-sdk-go/sts/sts.go
    • Line 3: warning: exported type Response should have comment or be unexported (golint)
    • Line 9: warning: exported type AssumeRoleArgs should have comment or be unexported (golint)
    • Line 15: warning: exported type AssumeRoleResponse should have comment or be unexported (golint)
    • Line 28: warning: exported method Client.AssumeRole should have comment or be unexported (golint)
    • qcloudapi-sdk-go/cbs/cbs_task.go
    • Line 9: warning: exported method Client.CreateCbsStorageTask should have comment or be unexported (golint)
    • Line 36: warning: exported method Client.AttachCbsStorageTask should have comment or be unexported (golint)
    • Line 62: warning: exported method Client.DetachCbsStorageTask should have comment or be unexported (golint)
    • qcloudapi-sdk-go/ccs/cluster_route.go
    • Line 3: warning: exported type Response should have comment or be unexported (golint)
    • Line 9: warning: exported type CreateClusterRouteArgs should have comment or be unexported (golint)
    • Line 15: warning: exported type CreateClusterRouteResponse should have comment or be unexported (golint)
    • Line 19: warning: exported type DeleteClusterRouteArgs should have comment or be unexported (golint)
    • Line 25: warning: exported type DeleteClusterRouteResponse should have comment or be unexported (golint)
    • Line 29: warning: exported type DescribeClusterRouteArgs should have comment or be unexported (golint)
    • Line 33: warning: exported type DescribeClusterRouteResponse should have comment or be unexported (golint)
    • Line 41: warning: exported type RouteInfo should have comment or be unexported (golint)
    • Line 47: warning: exported method Client.CreateClusterRoute should have comment or be unexported (golint)
    • Line 56: warning: exported method Client.DeleteClusterRoute should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.DescribeClusterRoute should have comment or be unexported (golint)
    • qcloudapi-sdk-go/account/client.go
    • Line 10: warning: exported const AccountHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/snap/snap.go
    • Line 3: warning: exported type Response should have comment or be unexported (golint)
    • Line 9: warning: exported type BindAutoSnapshotPolicyArg should have comment or be unexported (golint)
    • Line 14: warning: exported type BindAutoSnapshotPolicyRsp should have comment or be unexported (golint)
    • Line 18: warning: exported method Client.BindAutoSnapshotPolicy should have comment or be unexported (golint)
    • qcloudapi-sdk-go/clb/listener.go
    • Line 4: warning: exported const LoadBalanceListenerProtocolHTTP should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type CreateListenerOpts should have comment or be unexported (golint)
    • Line 34: warning: exported type CreateLoadBalancerListenersArgs should have comment or be unexported (golint)
    • Line 39: warning: exported type CreateLoadBalancerListenersResponse should have comment or be unexported (golint)
    • Line 45: warning: exported method CreateLoadBalancerListenersResponse.Id should have comment or be unexported (golint)
    • Line 49: warning: exported method Client.CreateLoadBalancerListeners should have comment or be unexported (golint)
    • Line 61: warning: exported type DescribeLoadBalancerListenersArgs should have comment or be unexported (golint)
    • Line 69: warning: exported type DescribeLoadBalancerListenersResponse should have comment or be unexported (golint)
    • Line 75: warning: exported type Listener should have comment or be unexported (golint)
    • Line 95: warning: exported method Client.DescribeLoadBalancerListeners should have comment or be unexported (golint)
    • Line 107: warning: exported type DeleteLoadBalancerListenersArgs should have comment or be unexported (golint)
    • Line 112: warning: exported type DeleteLoadBalancerListenersResponse should have comment or be unexported (golint)
    • Line 117: warning: exported method DeleteLoadBalancerListenersResponse.Id should have comment or be unexported (golint)
    • Line 121: warning: exported method Client.DeleteLoadBalancerListeners should have comment or be unexported (golint)
    • Line 137: warning: exported type ModifyLoadBalancerListenerArgs should have comment or be unexported (golint)
    • Line 160: warning: exported type ModifyLoadBalancerListenerResponse should have comment or be unexported (golint)
    • Line 165: warning: exported method ModifyLoadBalancerListenerResponse.Id should have comment or be unexported (golint)
    • Line 169: warning: exported method Client.ModifyLoadBalancerListener should have comment or be unexported (golint)
    • qcloudapi-sdk-go/sts/client.go
    • Line 10: warning: exported const StsHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 18: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 33: warning: exported function NewClientFromEnv should have comment or be unexported (golint)
    • qcloudapi-sdk-go/clb/backend.go
    • Line 3: warning: exported type RegisterInstancesWithLoadBalancerArgs should have comment or be unexported (golint)
    • Line 8: warning: exported type RegisterInstancesOpts should have comment or be unexported (golint)
    • Line 13: warning: exported type RegisterInstancesWithLoadBalancerResponse should have comment or be unexported (golint)
    • Line 18: warning: exported method RegisterInstancesWithLoadBalancerResponse.Id should have comment or be unexported (golint)
    • Line 22: warning: exported method Client.RegisterInstancesWithLoadBalancer should have comment or be unexported (golint)
    • Line 34: warning: exported type DescribeLoadBalancerBackendsArgs should have comment or be unexported (golint)
    • Line 40: warning: exported type DescribeLoadBalancerBackendsResponse should have comment or be unexported (golint)
    • Line 46: warning: exported type LoadBalancerBackends should have comment or be unexported (golint)
    • Line 56: warning: exported method Client.DescribeLoadBalancerBackends should have comment or be unexported (golint)
    • Line 73: warning: exported type ModifyLoadBalancerBackendsArgs should have comment or be unexported (golint)
    • Line 78: warning: exported type ModifyBackendOpts should have comment or be unexported (golint)
    • Line 83: warning: exported type ModifyLoadBalancerBackendsResponse should have comment or be unexported (golint)
    • Line 88: warning: exported method ModifyLoadBalancerBackendsResponse.Id should have comment or be unexported (golint)
    • Line 92: warning: exported method Client.ModifyLoadBalancerBackends should have comment or be unexported (golint)
    • Line 104: warning: exported type DeregisterInstancesFromLoadBalancerArgs should have comment or be unexported (golint)
    • Line 113: warning: exported type DeregisterInstancesFromLoadBalancerResponse should have comment or be unexported (golint)
    • Line 118: warning: exported method DeregisterInstancesFromLoadBalancerResponse.Id should have comment or be unexported (golint)
    • Line 122: warning: exported method Client.DeregisterInstancesFromLoadBalancer should have comment or be unexported (golint)
    • qcloudapi-sdk-go/clb/wait.go
    • Line 9: warning: exported const TaskCheckInterval should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type Task should have comment or be unexported (golint)
    • Line 22: warning: exported function NewTask should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method Task.WaitUntilDone should be of the form "WaitUntilDone ..." (golint)
    • Line 48: warning: exported type AsyncTask should have comment or be unexported (golint)
    • Line 52: warning: exported type CreateFunc should have comment or be unexported (golint)
    • Line 54: warning: comment on exported function WaitUntilDone should be of the form "WaitUntilDone ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!