evalphobia/aws-sdk-go-v2-wrapper

View on GitHub
config/endpoints.go

Summary

Maintainability
A
2 hrs
Test Coverage

Endpoints has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

type Endpoints struct {
    Athena         string
    CloudwatchLogs string
    DynamoDB       string
    EC2            string
Severity: Minor
Found in config/endpoints.go - About 2 hrs to fix

    exported method Endpoints.GetSQS should have comment or be unexported
    Open

    func (e Endpoints) GetSQS() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasSES should have comment or be unexported
    Open

    func (e Endpoints) HasSES() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetS3 should have comment or be unexported
    Open

    func (e Endpoints) GetS3() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasAthena should have comment or be unexported
    Open

    func (e Endpoints) HasAthena() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetEC2 should have comment or be unexported
    Open

    func (e Endpoints) GetEC2() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasPinpoint should have comment or be unexported
    Open

    func (e Endpoints) HasPinpoint() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetPinpoint should have comment or be unexported
    Open

    func (e Endpoints) GetPinpoint() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasSQS should have comment or be unexported
    Open

    func (e Endpoints) HasSQS() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasSSM should have comment or be unexported
    Open

    func (e Endpoints) HasSSM() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasCloudwatchLogs should have comment or be unexported
    Open

    func (e Endpoints) HasCloudwatchLogs() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasPinpointEmail should have comment or be unexported
    Open

    func (e Endpoints) HasPinpointEmail() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetKMS should have comment or be unexported
    Open

    func (e Endpoints) GetKMS() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetPinpointEmail should have comment or be unexported
    Open

    func (e Endpoints) GetPinpointEmail() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetSES should have comment or be unexported
    Open

    func (e Endpoints) GetSES() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasDynamoDB should have comment or be unexported
    Open

    func (e Endpoints) HasDynamoDB() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported type Endpoints should have comment or be unexported
    Open

    type Endpoints struct {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetCloudwatchLogs should have comment or be unexported
    Open

    func (e Endpoints) GetCloudwatchLogs() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasKMS should have comment or be unexported
    Open

    func (e Endpoints) HasKMS() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetAthena should have comment or be unexported
    Open

    func (e Endpoints) GetAthena() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetSSM should have comment or be unexported
    Open

    func (e Endpoints) GetSSM() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasEC2 should have comment or be unexported
    Open

    func (e Endpoints) HasEC2() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.HasS3 should have comment or be unexported
    Open

    func (e Endpoints) HasS3() bool {
    Severity: Minor
    Found in config/endpoints.go by golint

    exported method Endpoints.GetDynamoDB should have comment or be unexported
    Open

    func (e Endpoints) GetDynamoDB() aws.ResolveWithEndpoint {
    Severity: Minor
    Found in config/endpoints.go by golint

    There are no issues that match your filters.

    Category
    Status