Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
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!
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!
Golint is a linter for Go source code.
-
go-aws-resolver/svc/elasticache.go
- Line 12: warning: exported type ElastiCacheClient should have comment or be unexported (golint)
- Line 16: warning: exported function NewElastiCacheClient should have comment or be unexported (golint)
- Line 22: warning: exported method ElastiCacheClient.GetReplicationGroup should have comment or be unexported (golint)
-
go-aws-resolver/svc/kms.go
- Line 10: warning: exported type KMSClient should have comment or be unexported (golint)
- Line 14: warning: exported function NewKMSClient should have comment or be unexported (golint)
- Line 20: warning: exported method KMSClient.GetKey should have comment or be unexported (golint)
-
go-aws-resolver/svc/rds.go
- Line 12: warning: exported type RdsClient should have comment or be unexported (golint)
- Line 16: warning: exported function NewRdsClient should have comment or be unexported (golint)
- Line 22: warning: exported method RdsClient.GetCluster should have comment or be unexported (golint)
-
go-aws-resolver/svc/secrets_manager.go
- Line 10: warning: exported type SecretsManagerClient should have comment or be unexported (golint)
- Line 14: warning: exported function NewSecretsManagerClient should have comment or be unexported (golint)
- Line 20: warning: exported method SecretsManagerClient.GetSecretValue should have comment or be unexported (golint)
-
go-aws-resolver/svc/sqs.go
- Line 10: warning: exported type SqsClient should have comment or be unexported (golint)
- Line 14: warning: exported function NewSqsClient should have comment or be unexported (golint)
- Line 20: warning: exported method SqsClient.GetQueueURL should have comment or be unexported (golint)
-
go-aws-resolver/svc/ssm.go
- Line 10: warning: exported type SsmClient should have comment or be unexported (golint)
- Line 14: warning: exported function NewSsmClient should have comment or be unexported (golint)
- Line 20: warning: exported method SsmClient.GetParameter should have comment or be unexported (golint)
-
go-aws-resolver/model.go
- Line 3: warning: exported type GetSsmParameterOutput should have comment or be unexported (golint)
- Line 7: warning: exported type GetRdsClusterOutput should have comment or be unexported (golint)
- Line 14: warning: exported type GetSqsQueueURLOutput should have comment or be unexported (golint)
- Line 18: warning: exported type GetElastiCacheReplicationGroupOutput should have comment or be unexported (golint)
- Line 23: warning: exported type ElastiCacheNodeGroup should have comment or be unexported (golint)
- Line 28: warning: exported type GetSecretsManagerSecretOutput should have comment or be unexported (golint)
- Line 32: warning: exported type GetKMSKeyIDOutput should have comment or be unexported (golint)
-
go-aws-resolver/resolver.go
- Line 10: warning: exported type Resolver should have comment or be unexported (golint)
- Line 19: warning: exported function NewResolver should have comment or be unexported (golint)
- Line 30: warning: exported method Resolver.GetSsmParameter should have comment or be unexported (golint)
- Line 40: warning: exported method Resolver.GetRdsCluster should have comment or be unexported (golint)
- Line 53: warning: exported method Resolver.GetSqsQueueURL should have comment or be unexported (golint)
- Line 63: warning: exported method Resolver.GetElastiCacheReplicationGroup should have comment or be unexported (golint)
- Line 98: warning: exported method Resolver.GetSecretsManagerSecret should have comment or be unexported (golint)
- Line 112: warning: exported method Resolver.GetKMSKeyID should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!