Skip to content

Cannot use v2.0.0-preview.5 with Go modules #221

@F21

Description

@F21

Please fill out the sections below to help us address your issue.

Version of AWS SDK for Go?

v2.0.0-preview.5

Version of Go (go version)?

Go 1.11 Linux x64

What issue did you see?

v2.0.0 includes a go.mod file, but the import path in the go.mod file is github.com/aws/aws-sdk-go-v2. This means that Go modules is not able to import the library because the tag is v2, but the path in the go.mod file is not v2. Go modules will only import v2.0.0-preview.4 due to the import path in go.mod being wrong.

To fix this, the import path in go.mod should be updated to github.com/aws/aws-sdk-go-v2/v2 and all references to github.com/aws/aws-sdk-go-v2 within the library should also be updated to ``github.com/aws/aws-sdk-go-v2/v2`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions