Preparing report...

Report for github.com/srinandan/apigeecli

A+    Excellent!    Found 145 issues across 279 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo97%

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.

    • apigeecli/apiclient/iam.go
    • Line 61: warning: cyclomatic complexity 20 of function CreateIAMServiceAccount() is high (> 15) (gocyclo)
    • Line 288: warning: cyclomatic complexity 20 of function RemoveIAMPermission() is high (> 15) (gocyclo)

golint48%

Golint is a linter for Go source code.

    • apigeecli/client/instances/instances.go
    • Line 25: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 45: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 53: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 61: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/client/env/env.go
    • Line 27: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 55: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 63: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 75: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 83: warning: comment on exported function GetDeployments should be of the form "GetDeployments ..." (golint)
    • Line 91: warning: comment on exported function GetDeployedConfig should be of the form "GetDeployedConfig ..." (golint)
    • apigeecli/client/sharedflows/sharedflows.go
    • Line 41: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 54: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 66: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 78: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 92: warning: comment on exported function ListEnvDeployments should be of the form "ListEnvDeployments ..." (golint)
    • Line 109: warning: comment on exported function ListDeployments should be of the form "ListDeployments ..." (golint)
    • Line 117: warning: comment on exported function ListRevisionDeployments should be of the form "ListRevisionDeployments ..." (golint)
    • Line 129: warning: comment on exported function Deploy should be of the form "Deploy ..." (golint)
    • Line 148: warning: comment on exported function Clean should be of the form "Clean ..." (golint)
    • Line 246: warning: comment on exported function Undeploy should be of the form "Undeploy ..." (golint)
    • Line 255: warning: comment on exported function Fetch should be of the form "Fetch ..." (golint)
    • Line 260: warning: comment on exported function Export should be of the form "Export ..." (golint)
    • Line 316: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/keyaliases/keyaliases.go
    • Line 26: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 74: warning: comment on exported function CreateCSR should be of the form "CreateCSR ..." (golint)
    • Line 83: warning: comment on exported function GetCert should be of the form "GetCert ..." (golint)
    • Line 92: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 101: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 110: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/client/instances/nat.go
    • Line 25: warning: comment on exported function ReserveNatIP should be of the form "ReserveNatIP ..." (golint)
    • Line 37: warning: comment on exported function ActivateNatIP should be of the form "ActivateNatIP ..." (golint)
    • Line 46: warning: comment on exported function DeleteNatIP should be of the form "DeleteNatIP ..." (golint)
    • Line 54: warning: comment on exported function ListNatIPs should be of the form "ListNatIPs ..." (golint)
    • apigeecli/client/operations/operations.go
    • Line 54: warning: exported type OperationCompleteState should have comment or be unexported (golint)
    • Line 57: warning: exported const Success should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 70: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/client/instances/attachments.go
    • Line 27: warning: comment on exported function Attach should be of the form "Attach ..." (golint)
    • Line 40: warning: comment on exported function DetachEnv should be of the form "DetachEnv ..." (golint)
    • Line 91: warning: comment on exported function Detach should be of the form "Detach ..." (golint)
    • Line 99: warning: comment on exported function GetAttach should be of the form "GetAttach ..." (golint)
    • Line 107: warning: comment on exported function ListAttach should be of the form "ListAttach ..." (golint)
    • apigeecli/client/envgroups/envgroups.go
    • Line 41: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 57: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 65: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 73: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 81: warning: comment on exported function PatchHosts should be of the form "PatchHosts ..." (golint)
    • Line 97: warning: comment on exported function Attach should be of the form "Attach ..." (golint)
    • Line 110: warning: comment on exported function DetachEnvironment should be of the form "DetachEnvironment ..." (golint)
    • Line 145: warning: comment on exported function Detach should be of the form "Detach ..." (golint)
    • Line 153: warning: comment on exported function ListAttach should be of the form "ListAttach ..." (golint)
    • Line 167: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/apps/keys.go
    • Line 26: warning: comment on exported function CreateKey should be of the form "CreateKey ..." (golint)
    • Line 68: warning: comment on exported function DeleteKey should be of the form "DeleteKey ..." (golint)
    • Line 76: warning: comment on exported function GetKey should be of the form "GetKey ..." (golint)
    • Line 84: warning: comment on exported function UpdateKey should be of the form "UpdateKey ..." (golint)
    • Line 121: warning: exported function UpdateKeyProducts should have comment or be unexported (golint)
    • Line 135: warning: exported function ManageKey should have comment or be unexported (golint)
    • apigeecli/cmd/envoy/addbinding.go
    • Line 25: warning: comment on exported var AddBindCmd should be of the form "AddBindCmd ..." (golint)
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apigeecli/apiclient/options.go
    • Line 26: warning: exported var StageBaseURL should have comment or be unexported (golint)
    • Line 92: warning: comment on exported function UseStaging should be of the form "UseStaging ..." (golint)
    • Line 144: warning: comment on exported function SetServiceAccount should be of the form "SetServiceAccount ..." (golint)
    • Line 149: warning: comment on exported function GetServiceAccount should be of the form "GetServiceAccount ..." (golint)
    • Line 160: warning: comment on exported function IsSkipCheck should be of the form "IsSkipCheck ..." (golint)
    • Line 165: warning: comment on exported function IsSkipCache should be of the form "IsSkipCache ..." (golint)
    • Line 170: warning: comment on exported function IsSkipLogInfo should be of the form "IsSkipLogInfo ..." (golint)
    • Line 175: warning: comment on exported function SetSkipLogInfo should be of the form "SetSkipLogInfo ..." (golint)
    • Line 181: warning: comment on exported function SetPrintOutput should be of the form "SetPrintOutput ..." (golint)
    • Line 186: warning: comment on exported function GetPrintOutput should be of the form "GetPrintOutput ..." (golint)
    • Line 191: warning: comment on exported function GetProxyURL should be of the form "GetProxyURL ..." (golint)
    • Line 196: warning: comment on exported function SetProxyURL should be of the form "SetProxyURL ..." (golint)
    • apigeecli/client/env/iam.go
    • Line 28: warning: comment on exported function GetIAM should be of the form "GetIAM ..." (golint)
    • Line 36: warning: comment on exported function SetIAM should be of the form "SetIAM ..." (golint)
    • Line 44: warning: comment on exported function RemoveIAM should be of the form "RemoveIAM ..." (golint)
    • Line 53: warning: comment on exported function TestIAM should be of the form "TestIAM ..." (golint)
    • apigeecli/client/targetservers/targetservers.go
    • Line 56: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 64: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 144: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 152: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 160: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 168: warning: comment on exported function Export should be of the form "Export ..." (golint)
    • Line 242: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/sync/sync.go
    • Line 43: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 51: warning: comment on exported function Reset should be of the form "Reset ..." (golint)
    • Line 60: warning: comment on exported function Set should be of the form "Set ..." (golint)
    • Line 111: warning: comment on exported function SetList should be of the form "SetList ..." (golint)
    • Line 148: warning: comment on exported function Remove should be of the form "Remove ..." (golint)
    • apigeecli/client/apps/apps.go
    • Line 79: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 118: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 126: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 134: warning: comment on exported function Manage should be of the form "Manage ..." (golint)
    • Line 150: warning: comment on exported function SearchApp should be of the form "SearchApp ..." (golint)
    • Line 173: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 196: warning: comment on exported function ListApps should be of the form "ListApps ..." (golint)
    • Line 207: warning: comment on exported function GenerateKey should be of the form "GenerateKey ..." (golint)
    • Line 234: warning: comment on exported function Export should be of the form "Export ..." (golint)
    • Line 289: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/datacollectors/datacollectors.go
    • Line 40: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 58: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 66: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 74: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 82: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/env/debugmask.go
    • Line 25: warning: comment on exported function GetDebug should be of the form "GetDebug ..." (golint)
    • Line 33: warning: comment on exported function SetDebug should be of the form "SetDebug ..." (golint)
    • apigeecli/client/env/traceconfig.go
    • Line 38: warning: comment on exported function GetTraceConfig should be of the form "GetTraceConfig ..." (golint)
    • Line 46: warning: comment on exported function UpdateTraceConfig should be of the form "UpdateTraceConfig ..." (golint)
    • Line 47: warning: don't use underscores in Go names; func parameter sample_rate should be sampleRate (golint)
    • Line 72: warning: exported function DisableTraceConfig should have comment or be unexported (golint)
    • Line 105: warning: don't use underscores in Go names; func parameter sample_rate should be sampleRate (golint)
    • Line 105: warning: don't use underscores in Go names; func result sampling_config should be samplingConfig (golint)
    • apigeecli/bundlegen/apiproxydef/apiproxydef.go
    • Line 68: warning: exported function SetDisplayName should have comment or be unexported (golint)
    • Line 73: warning: exported function AddProxyEndpoint should have comment or be unexported (golint)
    • Line 77: warning: exported function AddTargetEndpoint should have comment or be unexported (golint)
    • Line 81: warning: exported function SetCreatedAt should have comment or be unexported (golint)
    • Line 85: warning: exported function SetLastModifiedAt should have comment or be unexported (golint)
    • Line 89: warning: exported function AddPolicy should have comment or be unexported (golint)
    • Line 93: warning: exported function SetBasePath should have comment or be unexported (golint)
    • Line 97: warning: exported function SetRevision should have comment or be unexported (golint)
    • Line 101: warning: exported function SetDescription should have comment or be unexported (golint)
    • Line 105: warning: exported function GetAPIProxy should have comment or be unexported (golint)
    • Line 113: warning: exported function SetConfigurationVersion should have comment or be unexported (golint)
    • Line 118: warning: exported function AddResource should have comment or be unexported (golint)
    • apigeecli/client/keystores/keystores.go
    • Line 24: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 33: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 41: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 49: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/client/orgs/orgs.go
    • Line 70: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 106: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 114: warning: exported function GetOrgField should have comment or be unexported (golint)
    • Line 133: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 140: warning: comment on exported function GetDeployedIngressConfig should be of the form "GetDeployedIngressConfig ..." (golint)
    • Line 197: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 249: warning: comment on exported function SetAddons should be of the form "SetAddons ..." (golint)
    • apigeecli/bundlegen/policies/policies.go
    • Line 61: warning: exported function AddOpenAPIValidatePolicy should have comment or be unexported (golint)
    • Line 65: warning: exported function AddVerifyApiKeyPolicy should have comment or be unexported (golint)
    • Line 69: warning: exported function AddOAuth2Policy should have comment or be unexported (golint)
    • Line 73: warning: exported function AddCORSPolicy should have comment or be unexported (golint)
    • apigeecli/client/apis/trace.go
    • Line 35: warning: comment on exported function CreateTraceSession should be of the form "CreateTraceSession ..." (golint)
    • Line 54: warning: comment on exported function GetTraceSession should be of the form "GetTraceSession ..." (golint)
    • Line 72: warning: comment on exported function ListTracceSession should be of the form "ListTracceSession ..." (golint)
    • apigeecli/client/res/res.go
    • Line 25: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 42: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 53: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 64: warning: comment on exported function Update should be of the form "Update ..." (golint)
    • Line 75: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/cmd/envoy/jwkutils.go
    • Line 80: warning: exported function GenerateToken should have comment or be unexported (golint)
    • Line 149: warning: exported function Generatekeys should have comment or be unexported (golint)
    • Line 191: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 210: warning: exported function Generatekid should have comment or be unexported (golint)
    • Line 221: warning: exported function AddKey should have comment or be unexported (golint)
    • apigeecli/client/apis/kvm.go
    • Line 25: warning: comment on exported function CreateProxyKVM should be of the form "CreateProxyKVM ..." (golint)
    • Line 34: warning: comment on exported function DeleteProxyKVM should be of the form "DeleteProxyKVM ..." (golint)
    • Line 42: warning: comment on exported function ListProxyKVM should be of the form "ListProxyKVM ..." (golint)
    • apigeecli/client/flowhooks/flowhooks.go
    • Line 26: warning: comment on exported function Attach should be of the form "Attach ..." (golint)
    • Line 50: warning: comment on exported function Detach should be of the form "Detach ..." (golint)
    • Line 58: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 66: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/bundlegen/proxies/proxies.go
    • Line 93: warning: exported function GetProxyEndpoint should have comment or be unexported (golint)
    • Line 101: warning: exported function NewProxyEndpoint should have comment or be unexported (golint)
    • Line 110: warning: exported function AddFlow should have comment or be unexported (golint)
    • Line 118: warning: exported function AddStepToPreFlowRequest should have comment or be unexported (golint)
    • Line 124: warning: exported function AddStepToFlowRequest should have comment or be unexported (golint)
    • apigeecli/client/env/traceoverrides.go
    • Line 26: warning: exported function CreateTraceOverrides should have comment or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; func parameter sample_rate should be sampleRate (golint)
    • Line 43: warning: exported function GetTraceOverrides should have comment or be unexported (golint)
    • Line 50: warning: exported function DeleteTraceOverrides should have comment or be unexported (golint)
    • Line 57: warning: exported function ListTraceOverrides should have comment or be unexported (golint)
    • apigeecli/client/cache/cache.go
    • Line 24: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 32: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/apiclient/bundles.go
    • Line 187: warning: exported function GetEntityPayloadList should have comment or be unexported (golint)
    • Line 191: warning: exported function ClearEntityPayloadList should have comment or be unexported (golint)
    • apigeecli/client/kvm/kvm.go
    • Line 26: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 42: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 50: warning: comment on exported function List should be of the form "List ..." (golint)
    • apigeecli/client/products/products.go
    • Line 106: warning: exported type ProductSettings should have comment or be unexported (golint)
    • Line 123: warning: exported function CreateLegacy should have comment or be unexported (golint)
    • Line 141: warning: exported function CreateProxyOperationGroup should have comment or be unexported (golint)
    • Line 162: warning: exported function UpdateLegacy should have comment or be unexported (golint)
    • Line 180: warning: exported function UpdateProxyOperationGroup should have comment or be unexported (golint)
    • Line 306: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 314: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 451: warning: comment on exported function UpdateAttribute should be of the form "UpdateAttribute ..." (golint)
    • Line 460: warning: comment on exported function DeleteAttribute should be of the form "DeleteAttribute ..." (golint)
    • Line 468: warning: comment on exported function GetAttribute should be of the form "GetAttribute ..." (golint)
    • Line 476: warning: comment on exported function ListAttributes should be of the form "ListAttributes ..." (golint)
    • Line 484: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 502: warning: comment on exported function Export should be of the form "Export ..." (golint)
    • Line 558: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • apigeecli/client/developers/developers.go
    • Line 32: warning: comment on exported type Appdeveloper should be of the form "Appdeveloper ..." (with optional leading article) (golint)
    • Line 53: warning: comment on exported function Create should be of the form "Create ..." (golint)
    • Line 79: warning: comment on exported function Delete should be of the form "Delete ..." (golint)
    • Line 87: warning: comment on exported function Get should be of the form "Get ..." (golint)
    • Line 95: warning: comment on exported function GetDeveloperId should be of the form "GetDeveloperId ..." (golint)
    • Line 110: warning: comment on exported function GetApps should be of the form "GetApps ..." (golint)
    • Line 125: warning: comment on exported function List should be of the form "List ..." (golint)
    • Line 147: warning: comment on exported function Export should be of the form "Export ..." (golint)
    • Line 161: warning: comment on exported function Import should be of the form "Import ..." (golint)
    • Line 237: warning: comment on exported function ReadDevelopersFile should be of the form "ReadDevelopersFile ..." (golint)
    • apigeecli/client/apis/apis.go
    • Line 41: warning: comment on exported function CreateProxy should be of the form "CreateProxy ..." (golint)
    • Line 54: warning: comment on exported function DeleteProxy should be of the form "DeleteProxy ..." (golint)
    • Line 66: warning: comment on exported function DeployProxy should be of the form "DeployProxy ..." (golint)
    • Line 87: warning: comment on exported function FetchProxy should be of the form "FetchProxy ..." (golint)
    • Line 92: warning: comment on exported function GetProxy should be of the form "GetProxy ..." (golint)
    • Line 104: warning: comment on exported function ListProxies should be of the form "ListProxies ..." (golint)
    • Line 117: warning: comment on exported function ListEnvDeployments should be of the form "ListEnvDeployments ..." (golint)
    • Line 128: warning: comment on exported function ListProxyDeployments should be of the form "ListProxyDeployments ..." (golint)
    • Line 136: warning: comment on exported function ListProxyRevisionDeployments should be of the form "ListProxyRevisionDeployments ..." (golint)
    • Line 148: warning: comment on exported function UndeployProxy should be of the form "UndeployProxy ..." (golint)
    • Line 157: warning: comment on exported function CleanProxy should be of the form "CleanProxy ..." (golint)
    • Line 261: warning: comment on exported function ExportProxies should be of the form "ExportProxies ..." (golint)
    • Line 317: warning: comment on exported function ImportProxies should be of the form "ImportProxies ..." (golint)
    • apigeecli/apiclient/clifile.go
    • Line 43: warning: exported function ReadPreferencesFile should have comment or be unexported (golint)
    • Line 81: warning: exported function DeletePreferencesFile should have comment or be unexported (golint)
    • Line 94: warning: exported function WriteToken should have comment or be unexported (golint)
    • Line 111: warning: exported function GetToken should have comment or be unexported (golint)
    • Line 115: warning: exported function GetLastCheck should have comment or be unexported (golint)
    • Line 119: warning: exported function GetNoCheck should have comment or be unexported (golint)
    • Line 123: warning: exported function SetNoCheck should have comment or be unexported (golint)
    • Line 136: warning: exported function TestAndUpdateLastCheck should have comment or be unexported (golint)
    • Line 158: warning: exported function GetDefaultOrg should have comment or be unexported (golint)
    • Line 162: warning: exported function WriteDefaultOrg should have comment or be unexported (golint)
    • Line 174: warning: exported function SetStaging should have comment or be unexported (golint)
    • Line 188: warning: exported function GetStaging should have comment or be unexported (golint)
    • Line 192: warning: exported function SetProxy should have comment or be unexported (golint)
    • Line 207: warning: exported function GetPreferences should have comment or be unexported (golint)
    • apigeecli/client/env/archives.go
    • Line 35: warning: comment on exported function CreateArchive should be of the form "CreateArchive ..." (golint)
    • Line 56: warning: don't use underscores in Go names; var gcs_uri should be gcsURI (golint)
    • Line 79: warning: comment on exported function GetArchive should be of the form "GetArchive ..." (golint)
    • Line 87: warning: comment on exported function ListArchives should be of the form "ListArchives ..." (golint)
    • Line 95: warning: comment on exported function DeleteArchive should be of the form "DeleteArchive ..." (golint)
    • apigeecli/bundlegen/generateapi.go
    • Line 43: warning: exported function LoadDocumentFromFile should have comment or be unexported (golint)
    • Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 70: warning: exported function LoadDocumentFromURI should have comment or be unexported (golint)
    • Line 97: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 109: warning: exported function GenerateAPIProxyDefFromOAS should have comment or be unexported (golint)
    • Line 168: warning: exported function GetEndpoint should have comment or be unexported (golint)
    • Line 176: warning: exported function GetHTTPMethod should have comment or be unexported (golint)
    • Line 308: warning: exported function GenerateFlows should have comment or be unexported (golint)
    • Line 328: warning: exported function GenerateOAuthPolicy should have comment or be unexported (golint)
    • Line 332: warning: exported function GenerateAPIKeyPolicy should have comment or be unexported (golint)
    • Line 340: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!