evalphobia/aws-sdk-go-v2-wrapper

View on GitHub
dynamodb/client_op_table_create.go

Summary

Maintainability
A
1 hr
Test Coverage

Method CreateTableRequest.ToInput has 53 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (r CreateTableRequest) ToInput() *SDK.CreateTableInput {
    in := &SDK.CreateTableInput{}

    if r.TableName != "" {
        in.TableName = pointers.String(r.TableName)
Severity: Minor
Found in dynamodb/client_op_table_create.go - About 1 hr to fix

    exported function NewCreateTableResult should have comment or be unexported
    Open

    func NewCreateTableResult(output *SDK.CreateTableResponse) *CreateTableResult {
    Severity: Minor
    Found in dynamodb/client_op_table_create.go by golint

    exported method CreateTableRequest.ToInput should have comment or be unexported
    Open

    func (r CreateTableRequest) ToInput() *SDK.CreateTableInput {
    Severity: Minor
    Found in dynamodb/client_op_table_create.go by golint

    There are no issues that match your filters.

    Category
    Status