evalphobia/aws-sdk-go-v2-wrapper

View on GitHub
pinpoint/type_campaign.go

Summary

Maintainability
F
3 days
Test Coverage

File type_campaign.go has 804 lines of code (exceeds 500 allowed). Consider refactoring.
Open

package pinpoint

import (
    SDK "github.com/aws/aws-sdk-go-v2/service/pinpoint"
    "github.com/evalphobia/aws-sdk-go-v2-wrapper/private/pointers"
Severity: Major
Found in pinpoint/type_campaign.go - About 1 day to fix

    Function newCampaignResponse has 68 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    func newCampaignResponse(o *SDK.CampaignResponse) CampaignResponse {
        result := CampaignResponse{}
        if o == nil {
            return result
        }
    Severity: Minor
    Found in pinpoint/type_campaign.go - About 1 hr to fix

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

      func (r CampaignEmailMessage) ToSDK() *SDK.CampaignEmailMessage {
          o := SDK.CampaignEmailMessage{}
      
          if r.Body != "" {
              o.Body = pointers.String(r.Body)
      Severity: Major
      Found in pinpoint/type_campaign.go and 2 other locations - About 1 hr to fix
      pinpoint/type_campaign.go on lines 213..229
      ses/type.go on lines 129..145

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 186.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

      func (r CampaignLimits) ToSDK() *SDK.CampaignLimits {
          o := SDK.CampaignLimits{}
      
          if r.Daily != 0 {
              o.Daily = pointers.Long64(r.Daily)
      Severity: Major
      Found in pinpoint/type_campaign.go and 2 other locations - About 1 hr to fix
      pinpoint/type_campaign.go on lines 104..120
      ses/type.go on lines 129..145

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 186.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

      func newCampaignLimits(o *SDK.CampaignLimits) CampaignLimits {
          result := CampaignLimits{}
          if o == nil {
              return result
          }
      Severity: Major
      Found in pinpoint/type_campaign.go and 3 other locations - About 1 hr to fix
      dynamodb/type.go on lines 942..961
      pinpoint/type_campaign.go on lines 83..102
      ses/type.go on lines 108..127

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 167.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

      func newCampaignEmailMessage(o *SDK.CampaignEmailMessage) CampaignEmailMessage {
          result := CampaignEmailMessage{}
          if o == nil {
              return result
          }
      Severity: Major
      Found in pinpoint/type_campaign.go and 3 other locations - About 1 hr to fix
      dynamodb/type.go on lines 942..961
      pinpoint/type_campaign.go on lines 192..211
      ses/type.go on lines 108..127

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 167.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func (r CampaignHook) ToSDK() *SDK.CampaignHook {
          o := SDK.CampaignHook{}
      
          if r.LambdaFunctionName != "" {
              o.LambdaFunctionName = pointers.String(r.LambdaFunctionName)
      Severity: Major
      Found in pinpoint/type_campaign.go and 1 other location - About 1 hr to fix
      pinpoint/type_campaign.go on lines 367..380

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 137.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func (r CampaignSMSMessage) ToSDK() *SDK.CampaignSmsMessage {
          o := SDK.CampaignSmsMessage{}
      
          if r.Body != "" {
              o.Body = pointers.String(r.Body)
      Severity: Major
      Found in pinpoint/type_campaign.go and 1 other location - About 1 hr to fix
      pinpoint/type_campaign.go on lines 170..183

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 137.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func newCampaignHook(o *SDK.CampaignHook) CampaignHook {
          result := CampaignHook{}
          if o == nil {
              return result
          }
      Severity: Minor
      Found in pinpoint/type_campaign.go and 1 other location - About 55 mins to fix
      pinpoint/type_campaign.go on lines 349..365

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 126.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func newCampaignSMSMessage(o *SDK.CampaignSmsMessage) CampaignSMSMessage {
          result := CampaignSMSMessage{}
          if o == nil {
              return result
          }
      Severity: Minor
      Found in pinpoint/type_campaign.go and 1 other location - About 55 mins to fix
      pinpoint/type_campaign.go on lines 152..168

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 126.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func (r Template) ToSDK() *SDK.Template {
          o := SDK.Template{}
      
          if r.Name != "" {
              o.Name = pointers.String(r.Name)
      Severity: Minor
      Found in pinpoint/type_campaign.go and 1 other location - About 45 mins to fix
      pinpoint/type_campaign.go on lines 659..669

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 116.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      func (r QuietTime) ToSDK() *SDK.QuietTime {
          o := SDK.QuietTime{}
      
          if r.End != "" {
              o.End = pointers.String(r.End)
      Severity: Minor
      Found in pinpoint/type_campaign.go and 1 other location - About 45 mins to fix
      pinpoint/type_campaign.go on lines 779..789

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 116.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 7 locations. Consider refactoring.
      Open

      func newTemplate(o *SDK.Template) Template {
          result := Template{}
          if o == nil {
              return result
          }
      Severity: Major
      Found in pinpoint/type_campaign.go and 6 other locations - About 40 mins to fix
      athena/type.go on lines 111..124
      pinpoint/type_campaign.go on lines 644..657
      pinpoint/type_segment.go on lines 311..324
      pinpoint/type_template.go on lines 228..241
      s3/type.go on lines 644..657
      ses/type.go on lines 152..165

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 109.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 7 locations. Consider refactoring.
      Open

      func newQuietTime(o *SDK.QuietTime) QuietTime {
          result := QuietTime{}
          if o == nil {
              return result
          }
      Severity: Major
      Found in pinpoint/type_campaign.go and 6 other locations - About 40 mins to fix
      athena/type.go on lines 111..124
      pinpoint/type_campaign.go on lines 764..777
      pinpoint/type_segment.go on lines 311..324
      pinpoint/type_template.go on lines 228..241
      s3/type.go on lines 644..657
      ses/type.go on lines 152..165

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 109.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      exported type CampaignHook should have comment or be unexported
      Open

      type CampaignHook struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignEmailMessage should have comment or be unexported
      Open

      type CampaignEmailMessage struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method AttributeDimension.ToSDK should have comment or be unexported
      Open

      func (r AttributeDimension) ToSDK() SDK.AttributeDimension {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignLimits.ToSDK should have comment or be unexported
      Open

      func (r CampaignLimits) ToSDK() *SDK.CampaignLimits {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignCustomMessage should have comment or be unexported
      Open

      type CampaignCustomMessage struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignEventFilter.ToSDK should have comment or be unexported
      Open

      func (r CampaignEventFilter) ToSDK() *SDK.CampaignEventFilter {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignEventFilter should have comment or be unexported
      Open

      type CampaignEventFilter struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignLimits should have comment or be unexported
      Open

      type CampaignLimits struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type AttributeDimension should have comment or be unexported
      Open

      type AttributeDimension struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignCustomMessage.ToSDK should have comment or be unexported
      Open

      func (r CampaignCustomMessage) ToSDK() *SDK.CampaignCustomMessage {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignHook.ToSDK should have comment or be unexported
      Open

      func (r CampaignHook) ToSDK() *SDK.CampaignHook {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignResponse should have comment or be unexported
      Open

      type CampaignResponse struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignEmailMessage.ToSDK should have comment or be unexported
      Open

      func (r CampaignEmailMessage) ToSDK() *SDK.CampaignEmailMessage {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CustomDeliveryConfiguration should have comment or be unexported
      Open

      type CustomDeliveryConfiguration struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type TemplateConfiguration should have comment or be unexported
      Open

      type TemplateConfiguration struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CustomDeliveryConfiguration.ToSDK should have comment or be unexported
      Open

      func (r CustomDeliveryConfiguration) ToSDK() *SDK.CustomDeliveryConfiguration {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method MetricDimension.ToSDK should have comment or be unexported
      Open

      func (r MetricDimension) ToSDK() SDK.MetricDimension {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type Template should have comment or be unexported
      Open

      type Template struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method WriteCampaignRequest.ToSDK should have comment or be unexported
      Open

      func (r WriteCampaignRequest) ToSDK() *SDK.WriteCampaignRequest {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type WriteCampaignRequest should have comment or be unexported
      Open

      type WriteCampaignRequest struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method MessageConfiguration.ToSDK should have comment or be unexported
      Open

      func (r MessageConfiguration) ToSDK() *SDK.MessageConfiguration {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method WriteTreatmentResource.ToSDK should have comment or be unexported
      Open

      func (r WriteTreatmentResource) ToSDK() SDK.WriteTreatmentResource {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type QuietTime should have comment or be unexported
      Open

      type QuietTime struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method CampaignSMSMessage.ToSDK should have comment or be unexported
      Open

      func (r CampaignSMSMessage) ToSDK() *SDK.CampaignSmsMessage {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method Template.ToSDK should have comment or be unexported
      Open

      func (r Template) ToSDK() *SDK.Template {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type CampaignSMSMessage should have comment or be unexported
      Open

      type CampaignSMSMessage struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method Message.ToSDK should have comment or be unexported
      Open

      func (r Message) ToSDK() *SDK.Message {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type MessageConfiguration should have comment or be unexported
      Open

      type MessageConfiguration struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method SetDimension.ToSDK should have comment or be unexported
      Open

      func (r SetDimension) ToSDK() *SDK.SetDimension {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method TemplateConfiguration.ToSDK should have comment or be unexported
      Open

      func (r TemplateConfiguration) ToSDK() *SDK.TemplateConfiguration {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type Schedule should have comment or be unexported
      Open

      type Schedule struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type SetDimension should have comment or be unexported
      Open

      type SetDimension struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type WriteTreatmentResource should have comment or be unexported
      Open

      type WriteTreatmentResource struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type Message should have comment or be unexported
      Open

      type Message struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type MetricDimension should have comment or be unexported
      Open

      type MetricDimension struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method Schedule.ToSDK should have comment or be unexported
      Open

      func (r Schedule) ToSDK() *SDK.Schedule {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type TreatmentResource should have comment or be unexported
      Open

      type TreatmentResource struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method QuietTime.ToSDK should have comment or be unexported
      Open

      func (r QuietTime) ToSDK() *SDK.QuietTime {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported method EventDimensions.ToSDK should have comment or be unexported
      Open

      func (r EventDimensions) ToSDK() *SDK.EventDimensions {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      exported type EventDimensions should have comment or be unexported
      Open

      type EventDimensions struct {
      Severity: Minor
      Found in pinpoint/type_campaign.go by golint

      There are no issues that match your filters.

      Category
      Status