Preparing report...

Report for github.com/adobe-platform/porter

A    Great!    Found 86 issues across 99 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!


gocyclo85%

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.

    • porter/provision/pack.go
    • Line 179: warning: cyclomatic complexity 21 of function buildContainer() is high (> 15) (gocyclo)
    • Line 41: warning: cyclomatic complexity 21 of function Package() is high (> 15) (gocyclo)
    • porter/provision/ensure_resources.go
    • Line 23: warning: cyclomatic complexity 22 of function (*stackCreator).ensureResources() is high (> 15) (gocyclo)
    • Line 344: warning: cyclomatic complexity 16 of function (*stackCreator).ensureDestinationELBSecurityGroup() is high (> 15) (gocyclo)
    • porter/conf/validate.go
    • Line 154: warning: cyclomatic complexity 25 of function (*Config).ValidateEnvironments() is high (> 15) (gocyclo)
    • Line 304: warning: cyclomatic complexity 21 of function (*Region).ValidateContainers() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 17 of function ValidateRegion() is high (> 15) (gocyclo)
    • porter/commands/build/provision.go
    • Line 198: warning: cyclomatic complexity 32 of function checkShouldHotswapRegion() is high (> 15) (gocyclo)
    • Line 746: warning: cyclomatic complexity 20 of function provisionStackPoll() is high (> 15) (gocyclo)
    • Line 102: warning: cyclomatic complexity 16 of function ProvisionOrHotswapStack() is high (> 15) (gocyclo)
    • porter/commands/host/docker.go
    • Line 133: warning: cyclomatic complexity 24 of function startContainers() is high (> 15) (gocyclo)
    • Line 429: warning: cyclomatic complexity 16 of function cleanContainers() is high (> 15) (gocyclo)

golint13%

Golint is a linter for Go source code.

    • porter/commands/host/signal.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 27: warning: exported type SignalCmd should have comment or be unexported (golint)
    • Line 29: warning: exported method SignalCmd.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method SignalCmd.ShortHelp should have comment or be unexported (golint)
    • Line 37: warning: exported method SignalCmd.LongHelp should have comment or be unexported (golint)
    • Line 54: warning: exported method SignalCmd.SubCommands should have comment or be unexported (golint)
    • Line 58: warning: exported method SignalCmd.Execute should have comment or be unexported (golint)
    • porter/daemon/wait_handle/wait_handle.go
    • Line 1: warning: package comment should be of the form "Package wait_handle ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 57: warning: exported function Call should have comment or be unexported (golint)
    • porter/testintegration/main.go
    • Line 14: warning: exported function FeatureFlipper should have comment or be unexported (golint)
    • Line 36: warning: exported function EmptyHandler should have comment or be unexported (golint)
    • Line 40: warning: exported function HelloWorld should have comment or be unexported (golint)
    • Line 44: warning: exported function Health should have comment or be unexported (golint)
    • Line 57: warning: exported function LoadTest should have comment or be unexported (golint)
    • Line 78: warning: exported function LeakMemory should have comment or be unexported (golint)
    • Line 87: warning: exported function Log should have comment or be unexported (golint)
    • Line 91: warning: exported function Syslog should have comment or be unexported (golint)
    • Line 110: warning: exported function TestLogRotate should have comment or be unexported (golint)
    • Line 121: warning: exported function Environment should have comment or be unexported (golint)
    • Line 162: warning: exported type Garbage should have comment or be unexported (golint)
    • porter/cfn_template/mappings.go
    • Line 1: warning: package comment should be of the form "Package cfn_template ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • porter/daemon/http/status.go
    • Line 1: warning: package comment should be of the form "Package http ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: exported function S400 should have comment or be unexported (golint)
    • Line 22: warning: exported function S401 should have comment or be unexported (golint)
    • Line 26: warning: exported function S404 should have comment or be unexported (golint)
    • Line 30: warning: exported function S408 should have comment or be unexported (golint)
    • Line 34: warning: exported function S500 should have comment or be unexported (golint)
    • porter/promote/promote.go
    • Line 1: warning: package comment should be of the form "Package promote ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported function Promote should have comment or be unexported (golint)
    • porter/commands/help/debug.go
    • Line 1: warning: package comment should be of the form "Package help ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 86: warning: exported var Debug should have comment or be unexported (golint)
    • porter/daemon/identity/identity.go
    • Line 1: warning: package comment should be of the form "Package identity ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported type InstanceIdentity should have comment or be unexported (golint)
    • Line 48: warning: exported function Get should have comment or be unexported (golint)
    • Line 144: warning: exported function SetIdentityForTest should have comment or be unexported (golint)
    • porter/commands/build/pack.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type PackCmd should have comment or be unexported (golint)
    • Line 28: warning: exported method PackCmd.Name should have comment or be unexported (golint)
    • Line 32: warning: exported method PackCmd.ShortHelp should have comment or be unexported (golint)
    • Line 36: warning: exported method PackCmd.LongHelp should have comment or be unexported (golint)
    • Line 40: warning: exported method PackCmd.SubCommands should have comment or be unexported (golint)
    • Line 44: warning: exported method PackCmd.Execute should have comment or be unexported (golint)
    • porter/cfn/cloudformation/wait_condition_handle.go
    • Line 1: warning: package comment should be of the form "Package cloudformation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported type WaitConditionHandle should have comment or be unexported (golint)
    • Line 22: warning: exported function NewWaitConditionHandle should have comment or be unexported (golint)
    • porter/cfn/iam/role.go
    • Line 1: warning: package comment should be of the form "Package iam ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 21: warning: exported type Role should have comment or be unexported (golint)
    • Line 33: warning: exported type Policy should have comment or be unexported (golint)
    • Line 40: warning: exported function NewRole should have comment or be unexported (golint)
    • porter/commands/build/promote.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 30: warning: exported type PromoteCmd should have comment or be unexported (golint)
    • Line 32: warning: exported method PromoteCmd.Name should have comment or be unexported (golint)
    • Line 36: warning: exported method PromoteCmd.ShortHelp should have comment or be unexported (golint)
    • Line 40: warning: exported method PromoteCmd.LongHelp should have comment or be unexported (golint)
    • Line 57: warning: exported method PromoteCmd.SubCommands should have comment or be unexported (golint)
    • Line 61: warning: exported method PromoteCmd.Execute should have comment or be unexported (golint)
    • porter/commands/build/prune.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 30: warning: exported type PruneCmd should have comment or be unexported (golint)
    • Line 32: warning: exported method PruneCmd.Name should have comment or be unexported (golint)
    • Line 36: warning: exported method PruneCmd.ShortHelp should have comment or be unexported (golint)
    • Line 40: warning: exported method PruneCmd.LongHelp should have comment or be unexported (golint)
    • Line 64: warning: exported method PruneCmd.SubCommands should have comment or be unexported (golint)
    • Line 68: warning: exported method PruneCmd.Execute should have comment or be unexported (golint)
    • porter/provision/pack.go
    • Line 1: warning: package comment should be of the form "Package provision ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • porter/cfn/auto_scaling/auto_scaling_group.go
    • Line 1: warning: package comment should be of the form "Package auto_scaling ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type AutoScalingGroup should have comment or be unexported (golint)
    • Line 40: warning: exported type MetricsCollection should have comment or be unexported (golint)
    • Line 45: warning: exported type NotificationConfiguration should have comment or be unexported (golint)
    • Line 50: warning: exported type AutoScalingTag should have comment or be unexported (golint)
    • Line 57: warning: exported function NewAutoScalingGroup should have comment or be unexported (golint)
    • porter/conf/conf.go
    • Line 13: warning: package comment should be of the form "Package conf ..." (golint)
    • Line 34: warning: don't use underscores in Go names; const Topology_Inet should be TopologyInet (golint)
    • Line 34: warning: exported const Topology_Inet should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; const Topology_Worker should be TopologyWorker (golint)
    • Line 36: warning: don't use underscores in Go names; const Topology_Cron should be TopologyCron (golint)
    • Line 75: warning: exported type Container should have comment or be unexported (golint)
    • Line 90: warning: exported type SrcEnvFile should have comment or be unexported (golint)
    • Line 98: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 103: warning: exported type Environment should have comment or be unexported (golint)
    • Line 122: warning: exported type HAProxy should have comment or be unexported (golint)
    • Line 134: warning: exported type Timeout should have comment or be unexported (golint)
    • Line 136: warning: don't use underscores in Go names; struct field Client_ should be Client (golint)
    • Line 138: warning: don't use underscores in Go names; struct field Server_ should be Server (golint)
    • Line 140: warning: don't use underscores in Go names; struct field Tunnel_ should be Tunnel (golint)
    • Line 142: warning: don't use underscores in Go names; struct field HttpRequest_ should be HTTPRequest (golint)
    • Line 144: warning: don't use underscores in Go names; struct field HttpKeepAlive_ should be HTTPKeepAlive (golint)
    • Line 147: warning: exported type SSL should have comment or be unexported (golint)
    • Line 150: warning: don't use underscores in Go names; struct field HTTPS_Only should be HTTPSOnly (golint)
    • Line 151: warning: don't use underscores in Go names; struct field HTTPS_Redirect should be HTTPSRedirect (golint)
    • Line 156: warning: exported type Pem should have comment or be unexported (golint)
    • Line 161: warning: exported type HeaderCapture should have comment or be unexported (golint)
    • Line 166: warning: exported type BlackoutWindow should have comment or be unexported (golint)
    • Line 171: warning: exported type Region should have comment or be unexported (golint)
    • Line 189: warning: exported type AutoScalingGroup should have comment or be unexported (golint)
    • Line 195: warning: exported type SecurityGroupEgress should have comment or be unexported (golint)
    • Line 203: warning: exported type AvailabilityZone should have comment or be unexported (golint)
    • Line 208: warning: exported type Hook should have comment or be unexported (golint)
    • Line 217: warning: exported type Slack should have comment or be unexported (golint)
    • Line 226: warning: exported type ELB should have comment or be unexported (golint)
    • Line 232: warning: exported method HAProxy.UsingSSL should have comment or be unexported (golint)
    • Line 236: warning: exported method Config.GetEnvironment should have comment or be unexported (golint)
    • Line 245: warning: comment on exported method Config.SetDefaults should be of the form "SetDefaults ..." (golint)
    • Line 404: warning: exported method Config.Print should have comment or be unexported (golint)
    • Line 485: warning: exported function GetStdinConfig should have comment or be unexported (golint)
    • Line 497: warning: exported function GetConfig should have comment or be unexported (golint)
    • Line 502: warning: exported function GetAlteredConfig should have comment or be unexported (golint)
    • Line 507: warning: exported function GetHostConfig should have comment or be unexported (golint)
    • porter/commands/bootstrap/iam.go
    • Line 1: warning: package comment should be of the form "Package bootstrap ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported type IamCmd should have comment or be unexported (golint)
    • Line 35: warning: exported method IamCmd.Name should have comment or be unexported (golint)
    • Line 39: warning: exported method IamCmd.ShortHelp should have comment or be unexported (golint)
    • Line 43: warning: exported method IamCmd.LongHelp should have comment or be unexported (golint)
    • Line 106: warning: exported method IamCmd.SubCommands should have comment or be unexported (golint)
    • Line 110: warning: exported method IamCmd.Execute should have comment or be unexported (golint)
    • Line 314: warning: exported type TrustPolicyContext should have comment or be unexported (golint)
    • porter/daemon/api/misc.go
    • Line 1: warning: package comment should be of the form "Package api ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 23: warning: exported function EnvHandler should have comment or be unexported (golint)
    • Line 29: warning: exported function FlagHandler should have comment or be unexported (golint)
    • Line 34: warning: exported function PanicHandler should have comment or be unexported (golint)
    • porter/secrets/secrets.go
    • Line 1: warning: package comment should be of the form "Package secrets ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 21: warning: exported const AesBytes should have comment or be unexported (golint)
    • Line 23: warning: exported type Payload should have comment or be unexported (golint)
    • Line 32: warning: exported function GenerateKey should have comment or be unexported (golint)
    • Line 38: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 65: warning: exported function Decrypt should have comment or be unexported (golint)
    • porter/commands/host/docker.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 35: warning: comment on exported type DockerCmd should be of the form "DockerCmd ..." (with optional leading article) (golint)
    • Line 39: warning: exported method DockerCmd.Name should have comment or be unexported (golint)
    • Line 43: warning: exported method DockerCmd.ShortHelp should have comment or be unexported (golint)
    • Line 47: warning: exported method DockerCmd.LongHelp should have comment or be unexported (golint)
    • Line 85: warning: exported method DockerCmd.SubCommands should have comment or be unexported (golint)
    • Line 89: warning: exported method DockerCmd.Execute should have comment or be unexported (golint)
    • porter/commands/host/haproxy.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 38: warning: exported type HAProxyCmd should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; struct field HTTPS_Redirect should be HTTPSRedirect (golint)
    • Line 69: warning: exported type HAPStdin should have comment or be unexported (golint)
    • Line 73: warning: exported type HAPContainer should have comment or be unexported (golint)
    • Line 89: warning: exported method HAProxyCmd.Name should have comment or be unexported (golint)
    • Line 93: warning: exported method HAProxyCmd.ShortHelp should have comment or be unexported (golint)
    • Line 97: warning: exported method HAProxyCmd.LongHelp should have comment or be unexported (golint)
    • Line 126: warning: exported method HAProxyCmd.SubCommands should have comment or be unexported (golint)
    • Line 130: warning: exported method HAProxyCmd.Execute should have comment or be unexported (golint)
    • Line 344: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • porter/commands/host/rsyslog.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported type RsyslogCmd should have comment or be unexported (golint)
    • Line 27: warning: exported method RsyslogCmd.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method RsyslogCmd.ShortHelp should have comment or be unexported (golint)
    • Line 35: warning: exported method RsyslogCmd.LongHelp should have comment or be unexported (golint)
    • Line 52: warning: exported method RsyslogCmd.SubCommands should have comment or be unexported (golint)
    • Line 56: warning: exported method RsyslogCmd.Execute should have comment or be unexported (golint)
    • porter/commands/commands.go
    • Line 1: warning: package comment should be of the form "Package commands ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 34: warning: exported function GetRootCommand should have comment or be unexported (golint)
    • porter/aws/ec2/ec2.go
    • Line 1: warning: package comment should be of the form "Package ec2 ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 24: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 30: warning: comment on exported function AllocateAddress should be of the form "AllocateAddress ..." (golint)
    • Line 50: warning: exported function AssociateAddress should have comment or be unexported (golint)
    • Line 63: warning: exported function AssociateRouteTable should have comment or be unexported (golint)
    • Line 76: warning: exported function AttachInternetGateway should have comment or be unexported (golint)
    • Line 89: warning: exported function CreateInternetGateway should have comment or be unexported (golint)
    • Line 105: warning: exported function CreateNetworkInterface should have comment or be unexported (golint)
    • Line 123: warning: exported function CreateRouteForInternetGateway should have comment or be unexported (golint)
    • Line 139: warning: exported function CreateRouteForNetworkInterface should have comment or be unexported (golint)
    • Line 155: warning: exported function CreateRouteTable should have comment or be unexported (golint)
    • Line 173: warning: exported function CreateSubnet should have comment or be unexported (golint)
    • Line 192: warning: exported function CreateVpc should have comment or be unexported (golint)
    • Line 210: warning: comment on exported function CreateVpcScenario2 should be of the form "CreateVpcScenario2 ..." (golint)
    • Line 276: warning: exported function DescribeInstances should have comment or be unexported (golint)
    • Line 298: warning: exported function DescribeRouteTables should have comment or be unexported (golint)
    • Line 320: warning: exported function DescribeSubnets should have comment or be unexported (golint)
    • Line 342: warning: exported function NameResource should have comment or be unexported (golint)
    • porter/cfn_template/auto_scaling.go
    • Line 1: warning: package comment should be of the form "Package cfn_template ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 26: warning: exported type UserDataContext should have comment or be unexported (golint)
    • Line 30: warning: exported type AWSCloudFormationInitCtx should have comment or be unexported (golint)
    • porter/commands/host/daemon.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported type DaemonCmd should have comment or be unexported (golint)
    • Line 35: warning: exported method DaemonCmd.Name should have comment or be unexported (golint)
    • Line 39: warning: exported method DaemonCmd.ShortHelp should have comment or be unexported (golint)
    • Line 43: warning: exported method DaemonCmd.LongHelp should have comment or be unexported (golint)
    • Line 67: warning: exported method DaemonCmd.SubCommands should have comment or be unexported (golint)
    • Line 71: warning: exported method DaemonCmd.Execute should have comment or be unexported (golint)
    • porter/aws/cloudformation/cloud_formation.go
    • Line 1: warning: package comment should be of the form "Package cloudformation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 23: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 58: warning: exported function DeleteStack should have comment or be unexported (golint)
    • Line 67: warning: exported function UpdateStack should have comment or be unexported (golint)
    • porter/aws/util/get_stacks.go
    • Line 1: warning: package comment should be of the form "Package util ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 28: warning: exported function GetStacks should have comment or be unexported (golint)
    • Line 95: warning: exported function GetStackName should have comment or be unexported (golint)
    • porter/cfn_template/ec2.go
    • Line 1: warning: package comment should be of the form "Package cfn_template ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 19: warning: comment on exported function ELBToInstance should be of the form "ELBToInstance ..." (golint)
    • Line 110: warning: comment on exported function InetSg should be of the form "InetSg ..." (golint)
    • porter/provision_state/provision_state.go
    • Line 13: warning: package comment should be of the form "Package provision_state ..." (golint)
    • Line 14: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type Stack should have comment or be unexported (golint)
    • Line 24: warning: exported type Region should have comment or be unexported (golint)
    • porter/daemon/middleware/profile.go
    • Line 1: warning: package comment should be of the form "Package middleware ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 20: warning: exported function Profile should have comment or be unexported (golint)
    • porter/daemon/middleware/version.go
    • Line 1: warning: package comment should be of the form "Package middleware ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 21: warning: exported function VersionHeader should have comment or be unexported (golint)
    • porter/cfn/iam/instance_profile.go
    • Line 1: warning: package comment should be of the form "Package iam ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported type InstanceProfile should have comment or be unexported (golint)
    • Line 27: warning: exported function NewInstanceProfile should have comment or be unexported (golint)
    • porter/cfn/cfn.go
    • Line 1: warning: package comment should be of the form "Package cfn ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported type Template should have comment or be unexported (golint)
    • Line 29: warning: exported type ParameterInput should have comment or be unexported (golint)
    • Line 43: warning: exported function NewTemplate should have comment or be unexported (golint)
    • Line 54: warning: exported method Template.ParseResources should have comment or be unexported (golint)
    • Line 67: warning: exported method Template.SetResource should have comment or be unexported (golint)
    • Line 92: warning: exported method Template.ResourceExists should have comment or be unexported (golint)
    • Line 97: warning: exported method Template.GetResourceNames should have comment or be unexported (golint)
    • Line 102: warning: exported method Template.GetResourcesByType should have comment or be unexported (golint)
    • Line 114: warning: exported method Template.GetResourceName should have comment or be unexported (golint)
    • porter/util/ignore.go
    • Line 1: warning: package comment should be of the form "Package util ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 24: warning: comment on exported function GitIgnoreTempDir should be of the form "GitIgnoreTempDir ..." (golint)
    • Line 37: warning: comment on exported function DockerIgnoreTempDir should be of the form "DockerIgnoreTempDir ..." (golint)
    • porter/cfn/types.go
    • Line 1: warning: package comment should be of the form "Package cfn ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: don't use underscores in Go names; const AutoScaling_AutoScalingGroup should be AutoScalingAutoScalingGroup (golint)
    • Line 15: warning: exported const AutoScaling_AutoScalingGroup should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; const AutoScaling_LaunchConfiguration should be AutoScalingLaunchConfiguration (golint)
    • Line 17: warning: don't use underscores in Go names; const AutoScaling_LifecycleHook should be AutoScalingLifecycleHook (golint)
    • Line 18: warning: don't use underscores in Go names; const AutoScaling_ScalingPolicy should be AutoScalingScalingPolicy (golint)
    • Line 19: warning: don't use underscores in Go names; const AutoScaling_ScheduledAction should be AutoScalingScheduledAction (golint)
    • Line 20: warning: don't use underscores in Go names; const CloudFormation_Authentication should be CloudFormationAuthentication (golint)
    • Line 21: warning: don't use underscores in Go names; const CloudFormation_CustomResource should be CloudFormationCustomResource (golint)
    • Line 22: warning: don't use underscores in Go names; const CloudFormation_Init should be CloudFormationInit (golint)
    • Line 23: warning: don't use underscores in Go names; const CloudFormation_Interface should be CloudFormationInterface (golint)
    • Line 24: warning: don't use underscores in Go names; const CloudFormation_Stack should be CloudFormationStack (golint)
    • Line 25: warning: don't use underscores in Go names; const CloudFormation_WaitCondition should be CloudFormationWaitCondition (golint)
    • Line 26: warning: don't use underscores in Go names; const CloudFormation_WaitConditionHandle should be CloudFormationWaitConditionHandle (golint)
    • Line 27: warning: don't use underscores in Go names; const CloudFront_Distribution should be CloudFrontDistribution (golint)
    • Line 28: warning: don't use underscores in Go names; const CloudTrail_Trail should be CloudTrailTrail (golint)
    • Line 29: warning: don't use underscores in Go names; const CloudWatch_Alarm should be CloudWatchAlarm (golint)
    • Line 30: warning: don't use underscores in Go names; const CodeDeploy_Application should be CodeDeployApplication (golint)
    • Line 31: warning: don't use underscores in Go names; const CodeDeploy_DeploymentConfig should be CodeDeployDeploymentConfig (golint)
    • Line 32: warning: don't use underscores in Go names; const CodeDeploy_DeploymentGroup should be CodeDeployDeploymentGroup (golint)
    • Line 33: warning: don't use underscores in Go names; const CodePipeline_CustomActionType should be CodePipelineCustomActionType (golint)
    • Line 34: warning: don't use underscores in Go names; const CodePipeline_Pipeline should be CodePipelinePipeline (golint)
    • Line 35: warning: don't use underscores in Go names; const Config_ConfigRule should be ConfigConfigRule (golint)
    • Line 36: warning: don't use underscores in Go names; const Config_ConfigurationRecorder should be ConfigConfigurationRecorder (golint)
    • Line 37: warning: don't use underscores in Go names; const Config_DeliveryChannel should be ConfigDeliveryChannel (golint)
    • Line 38: warning: don't use underscores in Go names; const DataPipeline_Pipeline should be DataPipelinePipeline (golint)
    • Line 39: warning: don't use underscores in Go names; const DirectoryService_MicrosoftAD should be DirectoryServiceMicrosoftAD (golint)
    • Line 40: warning: don't use underscores in Go names; const DirectoryService_SimpleAD should be DirectoryServiceSimpleAD (golint)
    • Line 41: warning: don't use underscores in Go names; const DynamoDB_Table should be DynamoDBTable (golint)
    • Line 42: warning: don't use underscores in Go names; const EC2_CustomerGateway should be EC2CustomerGateway (golint)
    • Line 43: warning: don't use underscores in Go names; const EC2_DHCPOptions should be EC2DHCPOptions (golint)
    • Line 45: warning: don't use underscores in Go names; const EC2_EIPAssociation should be EC2EIPAssociation (golint)
    • Line 46: warning: don't use underscores in Go names; const EC2_Instance should be EC2Instance (golint)
    • Line 47: warning: don't use underscores in Go names; const EC2_InternetGateway should be EC2InternetGateway (golint)
    • Line 48: warning: don't use underscores in Go names; const EC2_NetworkAcl should be EC2NetworkACL (golint)
    • Line 49: warning: don't use underscores in Go names; const EC2_NetworkAclEntry should be EC2NetworkACLEntry (golint)
    • Line 50: warning: don't use underscores in Go names; const EC2_NetworkInterface should be EC2NetworkInterface (golint)
    • Line 51: warning: don't use underscores in Go names; const EC2_NetworkInterfaceAttachment should be EC2NetworkInterfaceAttachment (golint)
    • Line 52: warning: don't use underscores in Go names; const EC2_PlacementGroup should be EC2PlacementGroup (golint)
    • Line 53: warning: don't use underscores in Go names; const EC2_Route should be EC2Route (golint)
    • Line 54: warning: don't use underscores in Go names; const EC2_RouteTable should be EC2RouteTable (golint)
    • Line 55: warning: don't use underscores in Go names; const EC2_SecurityGroup should be EC2SecurityGroup (golint)
    • Line 56: warning: don't use underscores in Go names; const EC2_SecurityGroupEgress should be EC2SecurityGroupEgress (golint)
    • Line 57: warning: don't use underscores in Go names; const EC2_SecurityGroupIngress should be EC2SecurityGroupIngress (golint)
    • Line 58: warning: don't use underscores in Go names; const EC2_SpotFleet should be EC2SpotFleet (golint)
    • Line 59: warning: don't use underscores in Go names; const EC2_Subnet should be EC2Subnet (golint)
    • Line 60: warning: don't use underscores in Go names; const EC2_SubnetNetworkAclAssociation should be EC2SubnetNetworkACLAssociation (golint)
    • Line 61: warning: don't use underscores in Go names; const EC2_SubnetRouteTableAssociation should be EC2SubnetRouteTableAssociation (golint)
    • Line 62: warning: don't use underscores in Go names; const EC2_Volume should be EC2Volume (golint)
    • Line 63: warning: don't use underscores in Go names; const EC2_VolumeAttachment should be EC2VolumeAttachment (golint)
    • Line 65: warning: don't use underscores in Go names; const EC2_VPCDHCPOptionsAssociation should be EC2VPCDHCPOptionsAssociation (golint)
    • Line 66: warning: don't use underscores in Go names; const EC2_VPCEndpoint should be EC2VPCEndpoint (golint)
    • Line 67: warning: don't use underscores in Go names; const EC2_VPCGatewayAttachment should be EC2VPCGatewayAttachment (golint)
    • Line 68: warning: don't use underscores in Go names; const EC2_VPCPeeringConnection should be EC2VPCPeeringConnection (golint)
    • Line 69: warning: don't use underscores in Go names; const EC2_VPNConnection should be EC2VPNConnection (golint)
    • Line 70: warning: don't use underscores in Go names; const EC2_VPNConnectionRoute should be EC2VPNConnectionRoute (golint)
    • Line 71: warning: don't use underscores in Go names; const EC2_VPNGateway should be EC2VPNGateway (golint)
    • Line 72: warning: don't use underscores in Go names; const EC2_VPNGatewayRoutePropagation should be EC2VPNGatewayRoutePropagation (golint)
    • Line 73: warning: don't use underscores in Go names; const ECS_Cluster should be ECSCluster (golint)
    • Line 74: warning: don't use underscores in Go names; const ECS_Service should be ECSService (golint)
    • Line 75: warning: don't use underscores in Go names; const ECS_TaskDefinition should be ECSTaskDefinition (golint)
    • Line 76: warning: don't use underscores in Go names; const EFS_FileSystem should be EFSFileSystem (golint)
    • Line 77: warning: don't use underscores in Go names; const EFS_MountTarget should be EFSMountTarget (golint)
    • Line 78: warning: don't use underscores in Go names; const ElastiCache_CacheCluster should be ElastiCacheCacheCluster (golint)
    • Line 79: warning: don't use underscores in Go names; const ElastiCache_ParameterGroup should be ElastiCacheParameterGroup (golint)
    • Line 80: warning: don't use underscores in Go names; const ElastiCache_ReplicationGroup should be ElastiCacheReplicationGroup (golint)
    • Line 81: warning: don't use underscores in Go names; const ElastiCache_SecurityGroup should be ElastiCacheSecurityGroup (golint)
    • Line 82: warning: don't use underscores in Go names; const ElastiCache_SecurityGroupIngress should be ElastiCacheSecurityGroupIngress (golint)
    • Line 83: warning: don't use underscores in Go names; const ElastiCache_SubnetGroup should be ElastiCacheSubnetGroup (golint)
    • Line 84: warning: don't use underscores in Go names; const ElasticBeanstalk_Application should be ElasticBeanstalkApplication (golint)
    • Line 85: warning: don't use underscores in Go names; const ElasticBeanstalk_ApplicationVersion should be ElasticBeanstalkApplicationVersion (golint)
    • Line 86: warning: don't use underscores in Go names; const ElasticBeanstalk_ConfigurationTemplate should be ElasticBeanstalkConfigurationTemplate (golint)
    • Line 87: warning: don't use underscores in Go names; const ElasticBeanstalk_Environment should be ElasticBeanstalkEnvironment (golint)
    • Line 88: warning: don't use underscores in Go names; const ElasticLoadBalancing_LoadBalancer should be ElasticLoadBalancingLoadBalancer (golint)
    • Line 89: warning: don't use underscores in Go names; const IAM_AccessKey should be IAMAccessKey (golint)
    • Line 90: warning: don't use underscores in Go names; const IAM_Group should be IAMGroup (golint)
    • Line 91: warning: don't use underscores in Go names; const IAM_InstanceProfile should be IAMInstanceProfile (golint)
    • Line 92: warning: don't use underscores in Go names; const IAM_ManagedPolicy should be IAMManagedPolicy (golint)
    • Line 93: warning: don't use underscores in Go names; const IAM_Policy should be IAMPolicy (golint)
    • Line 94: warning: don't use underscores in Go names; const IAM_Role should be IAMRole (golint)
    • Line 95: warning: don't use underscores in Go names; const IAM_User should be IAMUser (golint)
    • Line 96: warning: don't use underscores in Go names; const IAM_UserToGroupAddition should be IAMUserToGroupAddition (golint)
    • Line 97: warning: don't use underscores in Go names; const Kinesis_Stream should be KinesisStream (golint)
    • Line 98: warning: don't use underscores in Go names; const KMS_Key should be KMSKey (golint)
    • Line 99: warning: don't use underscores in Go names; const Lambda_EventSourceMapping should be LambdaEventSourceMapping (golint)
    • Line 100: warning: don't use underscores in Go names; const Lambda_Function should be LambdaFunction (golint)
    • Line 101: warning: don't use underscores in Go names; const Lambda_Permission should be LambdaPermission (golint)
    • Line 102: warning: don't use underscores in Go names; const Logs_Destination should be LogsDestination (golint)
    • Line 103: warning: don't use underscores in Go names; const Logs_LogGroup should be LogsLogGroup (golint)
    • Line 104: warning: don't use underscores in Go names; const Logs_LogStream should be LogsLogStream (golint)
    • Line 105: warning: don't use underscores in Go names; const Logs_MetricFilter should be LogsMetricFilter (golint)
    • Line 106: warning: don't use underscores in Go names; const Logs_SubscriptionFilter should be LogsSubscriptionFilter (golint)
    • Line 107: warning: don't use underscores in Go names; const OpsWorks_App should be OpsWorksApp (golint)
    • Line 108: warning: don't use underscores in Go names; const OpsWorks_ElasticLoadBalancerAttachment should be OpsWorksElasticLoadBalancerAttachment (golint)
    • Line 109: warning: don't use underscores in Go names; const OpsWorks_Instance should be OpsWorksInstance (golint)
    • Line 110: warning: don't use underscores in Go names; const OpsWorks_Layer should be OpsWorksLayer (golint)
    • Line 111: warning: don't use underscores in Go names; const OpsWorks_Stack should be OpsWorksStack (golint)
    • Line 112: warning: don't use underscores in Go names; const RDS_DBCluster should be RDSDBCluster (golint)
    • Line 113: warning: don't use underscores in Go names; const RDS_DBClusterParameterGroup should be RDSDBClusterParameterGroup (golint)
    • Line 114: warning: don't use underscores in Go names; const RDS_DBInstance should be RDSDBInstance (golint)
    • Line 115: warning: don't use underscores in Go names; const RDS_DBParameterGroup should be RDSDBParameterGroup (golint)
    • Line 116: warning: don't use underscores in Go names; const RDS_DBSecurityGroup should be RDSDBSecurityGroup (golint)
    • Line 117: warning: don't use underscores in Go names; const RDS_DBSecurityGroupIngress should be RDSDBSecurityGroupIngress (golint)
    • Line 118: warning: don't use underscores in Go names; const RDS_DBSubnetGroup should be RDSDBSubnetGroup (golint)
    • Line 119: warning: don't use underscores in Go names; const RDS_EventSubscription should be RDSEventSubscription (golint)
    • Line 120: warning: don't use underscores in Go names; const RDS_OptionGroup should be RDSOptionGroup (golint)
    • Line 121: warning: don't use underscores in Go names; const Redshift_Cluster should be RedshiftCluster (golint)
    • Line 122: warning: don't use underscores in Go names; const Redshift_ClusterParameterGroup should be RedshiftClusterParameterGroup (golint)
    • Line 123: warning: don't use underscores in Go names; const Redshift_ClusterSecurityGroup should be RedshiftClusterSecurityGroup (golint)
    • Line 124: warning: don't use underscores in Go names; const Redshift_ClusterSecurityGroupIngress should be RedshiftClusterSecurityGroupIngress (golint)
    • Line 125: warning: don't use underscores in Go names; const Redshift_ClusterSubnetGroup should be RedshiftClusterSubnetGroup (golint)
    • Line 126: warning: don't use underscores in Go names; const Route53_HealthCheck should be Route53HealthCheck (golint)
    • Line 127: warning: don't use underscores in Go names; const Route53_HostedZone should be Route53HostedZone (golint)
    • Line 128: warning: don't use underscores in Go names; const Route53_RecordSet should be Route53RecordSet (golint)
    • Line 129: warning: don't use underscores in Go names; const Route53_RecordSetGroup should be Route53RecordSetGroup (golint)
    • Line 130: warning: don't use underscores in Go names; const S3_Bucket should be S3Bucket (golint)
    • Line 131: warning: don't use underscores in Go names; const S3_BucketPolicy should be S3BucketPolicy (golint)
    • Line 132: warning: don't use underscores in Go names; const SDB_Domain should be SDBDomain (golint)
    • Line 133: warning: don't use underscores in Go names; const SNS_Topic should be SNSTopic (golint)
    • Line 134: warning: don't use underscores in Go names; const SNS_TopicPolicy should be SNSTopicPolicy (golint)
    • Line 135: warning: don't use underscores in Go names; const SQS_Queue should be SQSQueue (golint)
    • Line 136: warning: don't use underscores in Go names; const SQS_QueuePolicy should be SQSQueuePolicy (golint)
    • Line 137: warning: don't use underscores in Go names; const SSM_Document should be SSMDocument (golint)
    • Line 138: warning: don't use underscores in Go names; const WAF_ByteMatchSet should be WAFByteMatchSet (golint)
    • Line 139: warning: don't use underscores in Go names; const WAF_IPSet should be WAFIPSet (golint)
    • Line 140: warning: don't use underscores in Go names; const WAF_Rule should be WAFRule (golint)
    • Line 141: warning: don't use underscores in Go names; const WAF_SqlInjectionMatchSet should be WAFSQLInjectionMatchSet (golint)
    • Line 142: warning: don't use underscores in Go names; const WAF_WebACL should be WAFWebACL (golint)
    • Line 143: warning: don't use underscores in Go names; const WorkSpaces_Workspace should be WorkSpacesWorkspace (golint)
    • Line 148: warning: exported function ValidType should have comment or be unexported (golint)
    • porter/commands/help/issue.go
    • Line 1: warning: package comment should be of the form "Package help ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported var Issue should have comment or be unexported (golint)
    • porter/aws_session/aws_session.go
    • Line 1: warning: package comment should be of the form "Package aws_session ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported function STS should have comment or be unexported (golint)
    • Line 57: warning: exported function Get should have comment or be unexported (golint)
    • porter/conf/region.go
    • Line 1: warning: package comment should be of the form "Package conf ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: exported method Region.HasELB should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method Region.PrimaryTopology should be of the form "PrimaryTopology ..." (golint)
    • Line 33: warning: exported method Region.HealthCheckMethod should have comment or be unexported (golint)
    • Line 42: warning: exported method Region.HealthCheckPath should have comment or be unexported (golint)
    • porter/commands/help/aws_network.go
    • Line 1: warning: package comment should be of the form "Package help ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type IpList should have comment or be unexported (golint)
    • Line 41: warning: exported type AwsNetworkCmd should have comment or be unexported (golint)
    • Line 43: warning: exported method AwsNetworkCmd.Name should have comment or be unexported (golint)
    • Line 47: warning: exported method AwsNetworkCmd.ShortHelp should have comment or be unexported (golint)
    • Line 51: warning: exported method AwsNetworkCmd.LongHelp should have comment or be unexported (golint)
    • Line 72: warning: exported method AwsNetworkCmd.SubCommands should have comment or be unexported (golint)
    • Line 76: warning: exported method AwsNetworkCmd.Execute should have comment or be unexported (golint)
    • porter/secrets/download.go
    • Line 1: warning: package comment should be of the form "Package secrets ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported function Download should have comment or be unexported (golint)
    • porter/commands/host/secrets.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported type SecretsCmd should have comment or be unexported (golint)
    • Line 27: warning: exported method SecretsCmd.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method SecretsCmd.ShortHelp should have comment or be unexported (golint)
    • Line 35: warning: exported method SecretsCmd.LongHelp should have comment or be unexported (golint)
    • Line 53: warning: exported method SecretsCmd.SubCommands should have comment or be unexported (golint)
    • Line 57: warning: exported method SecretsCmd.Execute should have comment or be unexported (golint)
    • porter/cfn/elastic_load_balancing/load_balancer.go
    • Line 1: warning: package comment should be of the form "Package elastic_load_balancing ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type LoadBalancer should have comment or be unexported (golint)
    • Line 40: warning: exported type AccessLoggingPolicy should have comment or be unexported (golint)
    • Line 47: warning: exported type AppCookieStickinessPolicy should have comment or be unexported (golint)
    • Line 52: warning: exported type ConnectionDrainingPolicy should have comment or be unexported (golint)
    • Line 57: warning: exported type ConnectionSettings should have comment or be unexported (golint)
    • Line 61: warning: exported type ElasticLoadBalancingPolicy should have comment or be unexported (golint)
    • Line 72: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 80: warning: exported type LBCookieStickinessPolicy should have comment or be unexported (golint)
    • Line 85: warning: exported type Listener should have comment or be unexported (golint)
    • Line 95: warning: exported function NewLoadBalancer should have comment or be unexported (golint)
    • porter/cfn/cloudformation/wait_condition.go
    • Line 1: warning: package comment should be of the form "Package cloudformation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported type WaitCondition should have comment or be unexported (golint)
    • Line 28: warning: exported function NewWaitCondition should have comment or be unexported (golint)
    • porter/daemon/middleware/types.go
    • Line 1: warning: package comment should be of the form "Package middleware ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 19: warning: exported type Handle should have comment or be unexported (golint)
    • porter/commands/dev/update.go
    • Line 1: warning: package comment should be of the form "Package dev ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: exported type UpdateCLICmd should have comment or be unexported (golint)
    • Line 20: warning: exported method UpdateCLICmd.Name should have comment or be unexported (golint)
    • Line 24: warning: exported method UpdateCLICmd.ShortHelp should have comment or be unexported (golint)
    • Line 28: warning: exported method UpdateCLICmd.LongHelp should have comment or be unexported (golint)
    • Line 32: warning: exported method UpdateCLICmd.SubCommands should have comment or be unexported (golint)
    • Line 36: warning: exported method UpdateCLICmd.Execute should have comment or be unexported (golint)
    • porter/daemon/config/config.go
    • Line 1: warning: package comment should be of the form "Package config ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported var CtxTimeout should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function Init should be of the form "Init ..." (golint)
    • porter/daemon/api/aws.go
    • Line 1: warning: package comment should be of the form "Package api ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 19: warning: should not use dot imports (golint)
    • Line 25: warning: exported function EC2TagsHandler should have comment or be unexported (golint)
    • Line 41: warning: exported function RegionHandler should have comment or be unexported (golint)
    • porter/daemon/api/routes.go
    • Line 1: warning: package comment should be of the form "Package api ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported function NewRouter should have comment or be unexported (golint)
    • porter/aws/elb/elb.go
    • Line 1: warning: package comment should be of the form "Package elb ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 23: warning: comment on exported const InService should be of the form "InService ..." (golint)
    • Line 25: warning: exported const OutOfService should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 35: warning: exported function AddTags should have comment or be unexported (golint)
    • Line 82: warning: exported function DescribeLoadBalancers should have comment or be unexported (golint)
    • Line 105: warning: exported function DescribeTags should have comment or be unexported (golint)
    • porter/aws/util/util.go
    • Line 1: warning: package comment should be of the form "Package util ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • porter/conf/environment.go
    • Line 1: warning: package comment should be of the form "Package conf ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 20: warning: exported method Environment.GetELBForRegion should have comment or be unexported (golint)
    • Line 42: warning: exported method Environment.GetRegion should have comment or be unexported (golint)
    • Line 51: warning: exported method Environment.GetRoleARN should have comment or be unexported (golint)
    • Line 68: warning: exported method Environment.GetStackDefinitionPath should have comment or be unexported (golint)
    • Line 81: warning: exported method Environment.GetInstanceCount should have comment or be unexported (golint)
    • Line 94: warning: exported method Environment.IsWithinBlackoutWindow should have comment or be unexported (golint)
    • porter/conf/validate.go
    • Line 1: warning: package comment should be of the form "Package conf ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 24: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 49: warning: exported method Config.ValidateRegistryConfig should have comment or be unexported (golint)
    • Line 94: warning: exported method Config.ValidateTopLevelKeys should have comment or be unexported (golint)
    • Line 110: warning: exported method Config.ValidateHooks should have comment or be unexported (golint)
    • Line 154: warning: exported method Config.ValidateEnvironments should have comment or be unexported (golint)
    • Line 243: warning: exported function ValidateRegion should have comment or be unexported (golint)
    • Line 304: warning: exported method Region.ValidateContainers should have comment or be unexported (golint)
    • porter/prune/prune.go
    • Line 1: warning: package comment should be of the form "Package prune ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 36: warning: exported function Do should have comment or be unexported (golint)
    • Line 216: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • porter/commands/build/hook.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported type HookCmd should have comment or be unexported (golint)
    • Line 27: warning: exported method HookCmd.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method HookCmd.ShortHelp should have comment or be unexported (golint)
    • Line 35: warning: exported method HookCmd.LongHelp should have comment or be unexported (golint)
    • Line 55: warning: exported method HookCmd.Execute should have comment or be unexported (golint)
    • Line 97: warning: exported method HookCmd.SubCommands should have comment or be unexported (golint)
    • porter/util/retry.go
    • Line 1: warning: package comment should be of the form "Package util ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • porter/commands/host/svc_payload.go
    • Line 1: warning: package comment should be of the form "Package host ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 35: warning: exported type SvcPayloadCmd should have comment or be unexported (golint)
    • Line 37: warning: exported method SvcPayloadCmd.Name should have comment or be unexported (golint)
    • Line 41: warning: exported method SvcPayloadCmd.ShortHelp should have comment or be unexported (golint)
    • Line 45: warning: exported method SvcPayloadCmd.LongHelp should have comment or be unexported (golint)
    • Line 67: warning: exported method SvcPayloadCmd.SubCommands should have comment or be unexported (golint)
    • Line 71: warning: exported method SvcPayloadCmd.Execute should have comment or be unexported (golint)
    • porter/commands/dev/sync_stack.go
    • Line 1: warning: package comment should be of the form "Package dev ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: comment on exported type SyncStackCmd should be of the form "SyncStackCmd ..." (with optional leading article) (golint)
    • Line 36: warning: exported method SyncStackCmd.Name should have comment or be unexported (golint)
    • Line 40: warning: exported method SyncStackCmd.ShortHelp should have comment or be unexported (golint)
    • Line 44: warning: exported method SyncStackCmd.LongHelp should have comment or be unexported (golint)
    • Line 55: warning: exported method SyncStackCmd.SubCommands should have comment or be unexported (golint)
    • Line 59: warning: exported method SyncStackCmd.Execute should have comment or be unexported (golint)
    • Line 78: warning: exported function UpdateStack should have comment or be unexported (golint)
    • porter/commands/bootstrap/s3.go
    • Line 1: warning: package comment should be of the form "Package bootstrap ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 27: warning: exported type S3Cmd should have comment or be unexported (golint)
    • Line 29: warning: exported method S3Cmd.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method S3Cmd.ShortHelp should have comment or be unexported (golint)
    • Line 37: warning: exported method S3Cmd.LongHelp should have comment or be unexported (golint)
    • Line 94: warning: exported method S3Cmd.SubCommands should have comment or be unexported (golint)
    • Line 98: warning: exported method S3Cmd.Execute should have comment or be unexported (golint)
    • porter/provision/api.go
    • Line 1: warning: package comment should be of the form "Package provision ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported type CfnApiInput should have comment or be unexported (golint)
    • Line 40: warning: exported function CreateStack should have comment or be unexported (golint)
    • Line 85: warning: exported function UpdateStack should have comment or be unexported (golint)
    • porter/commands/bootstrap/elb.go
    • Line 1: warning: package comment should be of the form "Package bootstrap ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type ElbCmd should have comment or be unexported (golint)
    • Line 31: warning: exported method ElbCmd.Name should have comment or be unexported (golint)
    • Line 35: warning: exported method ElbCmd.ShortHelp should have comment or be unexported (golint)
    • Line 39: warning: exported method ElbCmd.LongHelp should have comment or be unexported (golint)
    • Line 68: warning: exported method ElbCmd.SubCommands should have comment or be unexported (golint)
    • Line 72: warning: exported method ElbCmd.Execute should have comment or be unexported (golint)
    • porter/daemon/middleware/context.go
    • Line 1: warning: package comment should be of the form "Package middleware ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 19: warning: should not use dot imports (golint)
    • Line 42: warning: exported method CtxResponseWriter.Header should have comment or be unexported (golint)
    • Line 55: warning: exported method CtxResponseWriter.WriteHeader should have comment or be unexported (golint)
    • Line 61: warning: exported function Context should have comment or be unexported (golint)
    • Line 140: warning: exported function WithRequestLog should have comment or be unexported (golint)
    • Line 142: warning: should not use basic type int as key in context.WithValue (golint)
    • Line 145: warning: exported function GetRequestLog should have comment or be unexported (golint)
    • Line 150: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 159: warning: exported function WithParams should have comment or be unexported (golint)
    • Line 161: warning: should not use basic type int as key in context.WithValue (golint)
    • Line 164: warning: exported function GetParams should have comment or be unexported (golint)
    • Line 169: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • porter/commands/dev/create_stack.go
    • Line 1: warning: package comment should be of the form "Package dev ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 43: warning: exported type CreateStackCmd should have comment or be unexported (golint)
    • Line 45: warning: exported method CreateStackCmd.Name should have comment or be unexported (golint)
    • Line 49: warning: exported method CreateStackCmd.ShortHelp should have comment or be unexported (golint)
    • Line 53: warning: exported method CreateStackCmd.LongHelp should have comment or be unexported (golint)
    • Line 106: warning: exported method CreateStackCmd.SubCommands should have comment or be unexported (golint)
    • Line 110: warning: exported method CreateStackCmd.Execute should have comment or be unexported (golint)
    • Line 138: warning: exported function CreateStack should have comment or be unexported (golint)
    • porter/daemon/daemon.go
    • Line 1: warning: package comment should be of the form "Package daemon ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported function Run should have comment or be unexported (golint)
    • porter/aws/cloudformation/describe_stack_events.go
    • Line 1: warning: package comment should be of the form "Package cloudformation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 19: warning: exported type StackEventByTime should have comment or be unexported (golint)
    • Line 39: warning: exported function NewStackEventState should have comment or be unexported (golint)
    • Line 46: warning: exported method StackEventState.DescribeStackEvents should have comment or be unexported (golint)
    • porter/constants/constants.go
    • Line 1: warning: package comment should be of the form "Package constants ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 20: warning: exported const ProgramName should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: comment on exported const EnvConfig should be of the form "EnvConfig ..." (golint)
    • Line 44: warning: comment on exported const EnvDockerRegistry should be of the form "EnvDockerRegistry ..." (golint)
    • Line 53: warning: comment on exported const EnvConfigPath should be of the form "EnvConfigPath ..." (golint)
    • Line 68: warning: don't use underscores in Go names; const HRC_Pass should be HRCPass (golint)
    • Line 69: warning: don't use underscores in Go names; const HRC_Fail should be HRCFail (golint)
    • Line 70: warning: don't use underscores in Go names; const HRC_Always should be HRCAlways (golint)
    • Line 72: warning: comment on exported const ServicePayloadConfigPath should be of the form "ServicePayloadConfigPath ..." (golint)
    • Line 75: warning: comment on exported const AlteredConfigPath should be of the form "AlteredConfigPath ..." (golint)
    • Line 82: warning: don't use underscores in Go names; const HTTP_Port should be HTTPPort (golint)
    • Line 83: warning: don't use underscores in Go names; const HTTPS_TermPort should be HTTPSTermPort (golint)
    • Line 84: warning: don't use underscores in Go names; const HTTPS_Port should be HTTPSPort (golint)
    • Line 101: warning: comment on exported const AwsCfnLogicalIdTag should be of the form "AwsCfnLogicalIdTag ..." (golint)
    • Line 112: warning: comment on exported const PorterStackIdTag should be of the form "PorterStackIdTag ..." (golint)
    • Line 117: warning: comment on exported const Version should be of the form "Version ..." (golint)
    • Line 130: warning: don't use underscores in Go names; const HC_HealthyThreshold should be HCHealthyThreshold (golint)
    • Line 131: warning: don't use underscores in Go names; const HC_Interval should be HCInterval (golint)
    • Line 132: warning: don't use underscores in Go names; const HC_Timeout should be HCTimeout (golint)
    • Line 133: warning: don't use underscores in Go names; const HC_UnhealthyThreshold should be HCUnhealthyThreshold (golint)
    • Line 135: warning: comment on exported const MetadataElb should be of the form "MetadataElb ..." (golint)
    • Line 139: warning: comment on exported const MetadataAsLc should be of the form "MetadataAsLc ..." (golint)
    • Line 146: warning: comment on exported const CfnHupPollIntervalMinutes should be of the form "CfnHupPollIntervalMinutes ..." (golint)
    • Line 158: warning: exported var AwsRegions should have comment or be unexported (golint)
    • Line 161: warning: exported function StackCreationTimeout should have comment or be unexported (golint)
    • Line 177: warning: exported function StackCreationPollInterval should have comment or be unexported (golint)
    • porter/logger/logger.go
    • Line 1: warning: package comment should be of the form "Package logger ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 69: warning: exported function CLI should have comment or be unexported (golint)
    • Line 73: warning: exported function Host should have comment or be unexported (golint)
    • Line 77: warning: exported function Daemon should have comment or be unexported (golint)
    • Line 82: warning: exported function SetHandler should have comment or be unexported (golint)
    • Line 86: warning: exported function SetHandlerWithFormat should have comment or be unexported (golint)
    • porter/hook/hook.go
    • Line 1: warning: package comment should be of the form "Package hook ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 58: warning: exported function Execute should have comment or be unexported (golint)
    • Line 67: warning: exported function ExecuteWithRunCapture should have comment or be unexported (golint)
    • porter/commands/build/clean.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 21: warning: exported type CleanCmd should have comment or be unexported (golint)
    • Line 23: warning: exported method CleanCmd.Name should have comment or be unexported (golint)
    • Line 27: warning: exported method CleanCmd.ShortHelp should have comment or be unexported (golint)
    • Line 31: warning: exported method CleanCmd.LongHelp should have comment or be unexported (golint)
    • Line 35: warning: exported method CleanCmd.SubCommands should have comment or be unexported (golint)
    • Line 39: warning: exported method CleanCmd.Execute should have comment or be unexported (golint)
    • porter/commands/build/notify.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type NotifyCmd should have comment or be unexported (golint)
    • Line 30: warning: exported type SlackBody should have comment or be unexported (golint)
    • Line 35: warning: exported method NotifyCmd.Name should have comment or be unexported (golint)
    • Line 39: warning: exported method NotifyCmd.ShortHelp should have comment or be unexported (golint)
    • Line 43: warning: exported method NotifyCmd.LongHelp should have comment or be unexported (golint)
    • Line 57: warning: exported method NotifyCmd.SubCommands should have comment or be unexported (golint)
    • Line 61: warning: exported method NotifyCmd.Execute should have comment or be unexported (golint)
    • porter/commands/build/provision.go
    • Line 1: warning: package comment should be of the form "Package build ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 45: warning: exported type ProvisionStackCmd should have comment or be unexported (golint)
    • Line 56: warning: exported method ProvisionStackCmd.Name should have comment or be unexported (golint)
    • Line 60: warning: exported method ProvisionStackCmd.ShortHelp should have comment or be unexported (golint)
    • Line 64: warning: exported method ProvisionStackCmd.LongHelp should have comment or be unexported (golint)
    • Line 78: warning: exported method ProvisionStackCmd.SubCommands should have comment or be unexported (golint)
    • Line 82: warning: exported method ProvisionStackCmd.Execute should have comment or be unexported (golint)
    • Line 102: warning: exported function ProvisionOrHotswapStack should have comment or be unexported (golint)
    • Line 347: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 456: warning: exported function HotswapStack should have comment or be unexported (golint)
    • Line 672: warning: exported function ProvisionStack should have comment or be unexported (golint)
    • porter/cfn/auto_scaling/launch_configuration.go
    • Line 1: warning: package comment should be of the form "Package auto_scaling ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type LaunchConfiguration should have comment or be unexported (golint)
    • Line 53: warning: exported function NewLaunchConfiguration should have comment or be unexported (golint)
    • porter/cfn/stack_states.go
    • Line 1: warning: package comment should be of the form "Package cfn ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: exported const CREATE_COMPLETE should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported function PrunableStatus should have comment or be unexported (golint)
    • Line 53: warning: comment on exported function CheckHotswapStatus should be of the form "CheckHotswapStatus ..." (golint)
    • Line 73: warning: exported function AnyStatus should have comment or be unexported (golint)
    • porter/daemon/flags/flags.go
    • Line 1: warning: package comment should be of the form "Package flags ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: exported var Environment should have comment 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!


misspell0%

Misspell Finds commonly misspelled English words

An error occurred while running this test (exit status 2)