Preparing report...

Report for github.com/juju/go-oracle-cloud

A+    Excellent!    Found 49 issues across 123 files

Tweet

gofmt97%

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!


gocyclo99%

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.

    • go-oracle-cloud/api/request.go
    • Line 64: warning: cyclomatic complexity 25 of function defaultTreat() is high (> 15) (gocyclo)
    • Line 163: warning: cyclomatic complexity 22 of function (*Client).request() is high (> 15) (gocyclo)

golint63%

Golint is a linter for Go source code.

    • go-oracle-cloud/response/secrule.go
    • Line 36: warning: don't use underscores in Go names; struct field Dst_is_ip should be DstIsIP (golint)
    • Line 46: warning: don't use underscores in Go names; struct field Dst_list should be DstList (golint)
    • Line 54: warning: don't use underscores in Go names; struct field Src_is_ip should be SrcIsIP (golint)
    • Line 59: warning: don't use underscores in Go names; struct field Src_list should be SrcList (golint)
    • go-oracle-cloud/response/storageattachment.go
    • Line 33: warning: don't use underscores in Go names; struct field Instance_name should be InstanceName (golint)
    • Line 36: warning: don't use underscores in Go names; struct field Storage_volume_name should be StorageVolumeName (golint)
    • Line 59: warning: exported type AllStorageAttachments should have comment or be unexported (golint)
    • go-oracle-cloud/response/orchestration.go
    • Line 59: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 91: warning: don't use underscores in Go names; struct field Start_time should be StartTime (golint)
    • Line 94: warning: don't use underscores in Go names; struct field Stop_time should be StopTime (golint)
    • Line 108: warning: don't use underscores in Go names; struct field Obj_type should be ObjType (golint)
    • Line 111: warning: don't use underscores in Go names; struct field Ha_policy should be HaPolicy (golint)
    • Line 121: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 124: warning: exported type Info should have comment or be unexported (golint)
    • Line 128: warning: comment on exported type Object should be of the form "Object ..." (with optional leading article) (golint)
    • Line 147: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 162: warning: don't use underscores in Go names; struct field Snapshot_account should be SnapshotAccount (golint)
    • Line 166: warning: don't use underscores in Go names; struct field Machineimage_name should be MachineimageName (golint)
    • Line 169: warning: don't use underscores in Go names; struct field Snapshot_id should be SnapshotID (golint)
    • Line 189: warning: don't use underscores in Go names; struct field Storage_pool should be StoragePool (golint)
    • Line 217: warning: don't use underscores in Go names; struct field Imagelist_entry should be ImagelistEntry (golint)
    • Line 227: warning: comment on exported const OInstance should be of the form "OInstance ..." (golint)
    • Line 229: warning: comment on exported const OStorage should be of the form "OStorage ..." (golint)
    • Line 231: warning: comment on exported const OMaster should be of the form "OMaster ..." (golint)
    • Line 264: warning: don't use underscores in Go names; struct field Boot_order should be BootOrder (golint)
    • Line 268: warning: don't use underscores in Go names; struct field Start_time should be StartTime (golint)
    • Line 271: warning: don't use underscores in Go names; struct field Storage_attachments should be StorageAttachments (golint)
    • Line 297: warning: exported type StorageOrhcestration should have comment or be unexported (golint)
    • Line 302: warning: exported type AttributesOrchestration should have comment or be unexported (golint)
    • Line 304: warning: don't use underscores in Go names; struct field Nimbula_orchestration should be NimbulaOrchestration (golint)
    • go-oracle-cloud/api/vpnendpoint.go
    • Line 13: warning: exported type VpnEndpointParams should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; struct field Customer_vpn_gateway should be CustomerVpnGateway (golint)
    • Line 50: warning: don't use underscores in Go names; struct field Reachable_routes should be ReachableRoutes (golint)
    • Line 111: warning: exported method Client.DeleteVpnEndpoint should have comment or be unexported (golint)
    • Line 134: warning: exported method Client.VpnEndpointDetails should have comment or be unexported (golint)
    • Line 160: warning: exported method Client.AllVpnEndpoints should have comment or be unexported (golint)
    • go-oracle-cloud/response/secapplication.go
    • Line 12: warning: exported type SecApplication should have comment or be unexported (golint)
    • Line 87: warning: exported method SecApplication.PortProtocolPair should have comment or be unexported (golint)
    • Line 94: warning: exported type AllSecApplications should have comment or be unexported (golint)
    • go-oracle-cloud/api/ipaddressassociation.go
    • Line 13: warning: comment on exported method Client.IpAddressAssociationDetails should be of the form "IpAddressAssociationDetails ..." (golint)
    • Line 38: warning: comment on exported method Client.AllIpAddressAssociations should be of the form "AllIpAddressAssociations ..." (golint)
    • go-oracle-cloud/api/launchplan.go
    • Line 15: warning: exported const PublicNATPool should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type VEthernet should have comment or be unexported (golint)
    • Line 25: warning: exported type VNic should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type Instances should be of the form "Instances ..." (with optional leading article) (golint)
    • Line 133: warning: don't use underscores in Go names; struct field Boot_order should be BootOrder (golint)
    • Line 136: warning: don't use underscores in Go names; struct field Storage_attachments should be StorageAttachments (golint)
    • Line 141: warning: don't use underscores in Go names; struct field Reverse_dns should be ReverseDNS (golint)
    • Line 175: warning: comment on exported const NatReservationType should be of the form "NatReservationType ..." (golint)
    • Line 178: warning: comment on exported const NatPoolType should be of the form "NatPoolType ..." (golint)
    • Line 246: warning: don't use underscores in Go names; struct field Name_servers should be NameServers (golint)
    • Line 252: warning: don't use underscores in Go names; struct field Search_domains should be SearchDomains (golint)
    • Line 291: warning: comment on exported type IPNetwork should be of the form "IPNetwork ..." (with optional leading article) (golint)
    • Line 325: warning: don't use underscores in Go names; struct field Name_servers should be NameServers (golint)
    • Line 331: warning: don't use underscores in Go names; struct field Search_domains should be SearchDomains (golint)
    • Line 422: warning: exported method Client.CreateInstance should have comment or be unexported (golint)
    • go-oracle-cloud/common/storage.go
    • Line 63: warning: comment on exported method StoragePool.Validate should be of the form "Validate ..." (golint)
    • Line 74: warning: exported type StorageSize should have comment or be unexported (golint)
    • Line 76: warning: exported type StorageSizeType should have comment or be unexported (golint)
    • Line 79: warning: exported const B should have comment (or a comment on this block) or be unexported (golint)
    • go-oracle-cloud/api/storageattachment.go
    • Line 14: warning: comment on exported type StorageAttachmentParams should be of the form "StorageAttachmentParams ..." (with optional leading article) (golint)
    • Line 27: warning: don't use underscores in Go names; struct field Instance_name should be InstanceName (golint)
    • Line 30: warning: don't use underscores in Go names; struct field Storage_volume_name should be StorageVolumeName (golint)
    • Line 112: warning: comment on exported method Client.StorageAttachmentDetails should be of the form "StorageAttachmentDetails ..." (golint)
    • Line 140: warning: exported method Client.AllStorageAttachments should have comment or be unexported (golint)
    • go-oracle-cloud/api/secassociation.go
    • Line 61: warning: comment on exported method Client.DeleteSecAssociation should be of the form "DeleteSecAssociation ..." (golint)
    • Line 134: warning: exported method Client.AllSecAssociationNames should have comment or be unexported (golint)
    • go-oracle-cloud/response/shape.go
    • Line 6: warning: comment on exported type Shape should be of the form "Shape ..." (with optional leading article) (golint)
    • Line 15: warning: don't use underscores in Go names; struct field Nds_iops_limit should be NdsIopsLimit (golint)
    • Line 21: warning: don't use underscores in Go names; struct field Is_root_ssd should be IsRootSsd (golint)
    • Line 24: warning: don't use underscores in Go names; struct field Ssd_data_size should be SsdDataSize (golint)
    • Line 36: warning: don't use underscores in Go names; struct field Root_disk_size should be RootDiskSize (golint)
    • go-oracle-cloud/response/rebootinstancerequest.go
    • Line 6: warning: comment on exported type RebootInstanceRequest should be of the form "RebootInstanceRequest ..." (with optional leading article) (golint)
    • Line 16: warning: don't use underscores in Go names; struct field Creation_time should be CreationTime (golint)
    • Line 19: warning: don't use underscores in Go names; struct field Error_reason should be ErrorReason (golint)
    • Line 28: warning: don't use underscores in Go names; struct field Instance_id should be InstanceID (golint)
    • Line 33: warning: don't use underscores in Go names; struct field Request_id should be RequestID (golint)
    • go-oracle-cloud/api/securityrule.go
    • Line 14: warning: exported type SecurityRuleParams should have comment or be unexported (golint)
    • Line 129: warning: comment on exported method Client.DeleteSecurityRule should be of the form "DeleteSecurityRule ..." (golint)
    • Line 154: warning: comment on exported method Client.SecurityRuleDetails should be of the form "SecurityRuleDetails ..." (golint)
    • go-oracle-cloud/api/ssh.go
    • Line 13: warning: comment on exported method Client.CreateSHHKey should be of the form "CreateSHHKey ..." (golint)
    • Line 101: warning: comment on exported method Client.AllSSHKeys should be of the form "AllSSHKeys ..." (golint)
    • go-oracle-cloud/api/storagesnapshot.go
    • Line 13: warning: comment on exported type StorageSnapshotParams should be of the form "StorageSnapshotParams ..." (with optional leading article) (golint)
    • Line 25: warning: don't use underscores in Go names; struct field Parent_volume_bootable should be ParentVolumeBootable (golint)
    • go-oracle-cloud/api/storagevolume.go
    • Line 39: warning: don't use underscores in Go names; struct field Imagelist_entry should be ImagelistEntry (golint)
    • Line 75: warning: don't use underscores in Go names; struct field Snapshot_account should be SnapshotAccount (golint)
    • Line 79: warning: don't use underscores in Go names; struct field Snapshot_id should be SnapshotID (golint)
    • Line 170: warning: comment on exported method Client.StorageVolumeDetails should be of the form "StorageVolumeDetails ..." (golint)
    • go-oracle-cloud/common/networking.go
    • Line 20: warning: comment on exported const VNic should be of the form "VNic ..." (golint)
    • Line 54: warning: exported method Nic.GetType should have comment or be unexported (golint)
    • Line 84: warning: exported function NewIPPool should have comment or be unexported (golint)
    • Line 88: warning: exported type IPPrefixType should have comment or be unexported (golint)
    • Line 91: warning: exported const IPReservationType should have comment (or a comment on this block) or be unexported (golint)
    • Line 100: warning: exported const IcmpCodeNetwork should have comment (or a comment on this block) or be unexported (golint)
    • Line 113: warning: exported const IcmpTypeEcho should have comment (or a comment on this block) or be unexported (golint)
    • Line 124: warning: exported method Protocol.Validate should have comment or be unexported (golint)
    • Line 135: warning: exported const TCP should have comment (or a comment on this block) or be unexported (golint)
    • Line 150: warning: exported type AdminDistance should have comment or be unexported (golint)
    • Line 153: warning: exported const AdminDistanceZero should have comment (or a comment on this block) or be unexported (golint)
    • go-oracle-cloud/common/security.go
    • Line 8: warning: exported type SecRuleAction should have comment or be unexported (golint)
    • Line 10: warning: exported method SecRuleAction.Validate should have comment or be unexported (golint)
    • Line 18: warning: exported const SecRulePermit should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type FlowDirection should have comment or be unexported (golint)
    • Line 25: warning: exported const Egress should have comment (or a comment on this block) or be unexported (golint)
    • go-oracle-cloud/api/orchestration.go
    • Line 55: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 84: warning: don't use underscores in Go names; struct field Start_time should be StartTime (golint)
    • Line 89: warning: don't use underscores in Go names; struct field Stop_time should be StopTime (golint)
    • Line 92: warning: comment on exported type Oplan should be of the form "Oplan ..." (with optional leading article) (golint)
    • Line 103: warning: don't use underscores in Go names; struct field Obj_type should be ObjType (golint)
    • Line 106: warning: don't use underscores in Go names; struct field Ha_policy should be HaPolicy (golint)
    • Line 116: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 119: warning: exported type Info should have comment or be unexported (golint)
    • Line 143: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 158: warning: don't use underscores in Go names; struct field Snapshot_account should be SnapshotAccount (golint)
    • Line 162: warning: don't use underscores in Go names; struct field Machineimage_name should be MachineimageName (golint)
    • Line 165: warning: don't use underscores in Go names; struct field Snapshot_id should be SnapshotID (golint)
    • Line 185: warning: don't use underscores in Go names; struct field Storage_pool should be StoragePool (golint)
    • Line 213: warning: don't use underscores in Go names; struct field Imagelist_entry should be ImagelistEntry (golint)
    • Line 231: warning: don't use underscores in Go names; struct field Boot_order should be BootOrder (golint)
    • Line 235: warning: don't use underscores in Go names; struct field Start_time should be StartTime (golint)
    • Line 238: warning: don't use underscores in Go names; struct field Storage_attachments should be StorageAttachments (golint)
    • Line 264: warning: exported type StorageOrhcestration should have comment or be unexported (golint)
    • Line 269: warning: exported type AttributesOrchestration should have comment or be unexported (golint)
    • Line 271: warning: don't use underscores in Go names; struct field Nimbula_orchestration should be NimbulaOrchestration (golint)
    • Line 431: warning: exported method Client.AllOrchestrationNames should have comment or be unexported (golint)
    • go-oracle-cloud/common/backup.go
    • Line 32: warning: exported const Monday should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: comment on exported function NewDailyWeekly should be of the form "NewDailyWeekly ..." (golint)
    • go-oracle-cloud/response/storagevolume.go
    • Line 8: warning: comment on exported type StorageVolume should be of the form "StorageVolume ..." (with optional leading article) (golint)
    • Line 40: warning: don't use underscores in Go names; struct field Imagelist_entry should be ImagelistEntry (golint)
    • Line 45: warning: don't use underscores in Go names; struct field Machineimage_name should be MachineimageName (golint)
    • Line 99: warning: don't use underscores in Go names; struct field Snapshot_account should be SnapshotAccount (golint)
    • Line 103: warning: don't use underscores in Go names; struct field Snapshot_id should be SnapshotID (golint)
    • Line 109: warning: don't use underscores in Go names; struct field Status_detail should be StatusDetail (golint)
    • Line 113: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 117: warning: don't use underscores in Go names; struct field Storage_pool should be StoragePool (golint)
    • Line 129: warning: exported type AllStorageVolumes should have comment or be unexported (golint)
    • go-oracle-cloud/response/vpnendpoint.go
    • Line 16: warning: exported type VpnEndpoint should have comment or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; struct field Customer_vpn_gateway should be CustomerVpnGateway (golint)
    • Line 53: warning: don't use underscores in Go names; struct field Reachable_routes should be ReachableRoutes (golint)
    • Line 59: warning: don't use underscores in Go names; struct field Status_desc should be StatusDesc (golint)
    • Line 65: warning: exported type AllVpnEndpoints should have comment or be unexported (golint)
    • go-oracle-cloud/api/client.go
    • Line 123: warning: comment on exported method Client.Identify should be of the form "Identify ..." (golint)
    • Line 138: warning: exported method Client.ComposeName should have comment or be unexported (golint)
    • go-oracle-cloud/api/securityprotocol.go
    • Line 14: warning: exported type SecurityProtocolParams should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method Client.SecurityProtocolDetails should be of the form "SecurityProtocolDetails ..." (golint)
    • go-oracle-cloud/response/instance.go
    • Line 8: warning: exported type LaunchPlan should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; struct field Placement_requirements should be PlacementRequirements (golint)
    • Line 34: warning: don't use underscores in Go names; struct field Last_state_change_time should be LastStateChangeTime (golint)
    • Line 35: warning: don't use underscores in Go names; struct field Error_exception should be ErrorException (golint)
    • Line 38: warning: don't use underscores in Go names; struct field Start_requested should be StartRequested (golint)
    • Line 41: warning: don't use underscores in Go names; struct field Image_format should be ImageFormat (golint)
    • Line 42: warning: don't use underscores in Go names; struct field Cluster_uri should be ClusterURI (golint)
    • Line 44: warning: don't use underscores in Go names; struct field Target_node should be TargetNode (golint)
    • Line 45: warning: don't use underscores in Go names; struct field Availability_domain should be AvailabilityDomain (golint)
    • Line 47: warning: don't use underscores in Go names; struct field Seclist_associations should be SeclistAssociations (golint)
    • Line 50: warning: don't use underscores in Go names; struct field Disk_attach should be DiskAttach (golint)
    • Line 54: warning: don't use underscores in Go names; struct field Quota_reservation should be QuotaReservation (golint)
    • Line 55: warning: don't use underscores in Go names; struct field Suspend_file should be SuspendFile (golint)
    • Line 57: warning: don't use underscores in Go names; struct field Resource_requirements should be ResourceRequirements (golint)
    • Line 60: warning: don't use underscores in Go names; struct field Desired_state should be DesiredState (golint)
    • Line 61: warning: don't use underscores in Go names; struct field Storage_attachments should be StorageAttachments (golint)
    • Line 62: warning: don't use underscores in Go names; struct field Start_time should be StartTime (golint)
    • Line 63: warning: don't use underscores in Go names; struct field Storage_attachment_associations should be StorageAttachmentAssociations (golint)
    • Line 65: warning: don't use underscores in Go names; struct field Vnc_key should be VncKey (golint)
    • Line 66: warning: don't use underscores in Go names; struct field Numerical_priority should be NumericalPriority (golint)
    • Line 67: warning: don't use underscores in Go names; struct field Suspend_requested should be SuspendRequested (golint)
    • Line 69: warning: don't use underscores in Go names; struct field Error_reason should be ErrorReason (golint)
    • Line 70: warning: don't use underscores in Go names; struct field Nat_associations should be NatAssociations (golint)
    • Line 76: warning: don't use underscores in Go names; struct field Node_uuid should be NodeUUID (golint)
    • Line 78: warning: don't use underscores in Go names; struct field Vcable_id should be VcableID (golint)
    • Line 83: warning: don't use underscores in Go names; struct field Reverse_dns should be ReverseDNS (golint)
    • Line 84: warning: don't use underscores in Go names; struct field Launch_context should be LaunchContext (golint)
    • Line 85: warning: don't use underscores in Go names; struct field Delete_requested should be DeleteRequested (golint)
    • Line 86: warning: don't use underscores in Go names; struct field Tracking_id should be TrackingID (golint)
    • Line 87: warning: don't use underscores in Go names; struct field Hypervisor_type should be HypervisorType (golint)
    • Line 89: warning: don't use underscores in Go names; struct field Boot_order should be BootOrder (golint)
    • Line 90: warning: don't use underscores in Go names; struct field Last_seen should be LastSeen (golint)
    • Line 100: warning: don't use underscores in Go names; struct field Nimbula_orchestration should be NimbulaOrchestration (golint)
    • Line 124: warning: exported type Network should have comment or be unexported (golint)
    • Line 129: warning: don't use underscores in Go names; struct field Dhcp_options should be DhcpOptions (golint)
    • Line 144: warning: don't use underscores in Go names; struct field Vethernet_id should be VethernetID (golint)
    • Line 146: warning: don't use underscores in Go names; struct field Vethernet_type should be VethernetType (golint)
    • Line 166: warning: exported type Dns should have comment or be unexported (golint)
    • Line 169: warning: don't use underscores in Go names; struct field Vcable_eth0 should be VcableEth0 (golint)
    • Line 172: warning: exported type Storage should have comment or be unexported (golint)
    • Line 174: warning: don't use underscores in Go names; struct field Storage_volume_name should be StorageVolumeName (golint)
    • Line 178: warning: exported type Hypervisor should have comment or be unexported (golint)
    • Line 182: warning: exported type ResourceRequirments should have comment or be unexported (golint)
    • Line 183: warning: don't use underscores in Go names; struct field Compressed_size should be CompressedSize (golint)
    • Line 184: warning: don't use underscores in Go names; struct field Is_root_ssd should be IsRootSsd (golint)
    • Line 187: warning: don't use underscores in Go names; struct field Root_disk_size should be RootDiskSize (golint)
    • Line 189: warning: don't use underscores in Go names; struct field Decompressed_size should be DecompressedSize (golint)
    • Line 191: warning: don't use underscores in Go names; struct field Ssd_data_size should be SsdDataSize (golint)
    • go-oracle-cloud/response/storagesnapshot.go
    • Line 6: warning: exported type StorageSnapshot should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; struct field Machineimage_name should be MachineimageName (golint)
    • Line 53: warning: don't use underscores in Go names; struct field Snapshot_id should be SnapshotID (golint)
    • Line 58: warning: don't use underscores in Go names; struct field Snapshot_timestamp should be SnapshotTimestamp (golint)
    • Line 61: warning: don't use underscores in Go names; struct field Start_timestamp should be StartTimestamp (golint)
    • Line 68: warning: don't use underscores in Go names; struct field Status_detail should be StatusDetail (golint)
    • Line 72: warning: don't use underscores in Go names; struct field Status_timestamp should be StatusTimestamp (golint)
    • Line 86: warning: exported type AllStorageSnapshots should have comment or be unexported (golint)
    • go-oracle-cloud/api/ipassociation.go
    • Line 14: warning: comment on exported method Client.AllIpAssociations should be of the form "AllIpAssociations ..." (golint)
    • Line 62: warning: comment on exported method Client.CreateIpAssociation should be of the form "CreateIpAssociation ..." (golint)
    • Line 99: warning: comment on exported method Client.DeleteIpAssociation should be of the form "DeleteIpAssociation ..." (golint)
    • go-oracle-cloud/api/seclist.go
    • Line 14: warning: comment on exported method Client.CreateSecList should be of the form "CreateSecList ..." (golint)
    • Line 20: warning: don't use underscores in Go names; method parameter outbound_cidr_policy should be outboundCidrPolicy (golint)
    • Line 42: warning: don't use underscores in Go names; struct field Outbound_cidr_policy should be OutboundCidrPolicy (golint)
    • Line 134: warning: comment on exported method Client.UpdateSecList should be of the form "UpdateSecList ..." (golint)
    • Line 147: warning: don't use underscores in Go names; method parameter outbound_cidr_policy should be outboundCidrPolicy (golint)
    • Line 174: warning: don't use underscores in Go names; struct field Outbound_cidr_policy should be OutboundCidrPolicy (golint)
    • go-oracle-cloud/api/secrule.go
    • Line 43: warning: don't use underscores in Go names; struct field Dst_list should be DstList (golint)
    • Line 48: warning: don't use underscores in Go names; struct field Src_list should be SrcList (golint)
    • go-oracle-cloud/common/status.go
    • Line 6: warning: exported type InstanceState should have comment or be unexported (golint)
    • Line 9: warning: exported const StateQueued should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type VolumeState should have comment or be unexported (golint)
    • Line 25: warning: exported const VolumeInitializint should have comment (or a comment on this block) or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words