aws / aws-dax-go

AWS DAX SDK for the Go programming language. https://aws.amazon.com/dynamodb/dax
Apache License 2.0
47 stars 48 forks source link

Mismatched antlr package dependency causing ambiguous imports #34

Open WingGithub opened 2 years ago

WingGithub commented 2 years ago

The go.mod antlr entry should be updated to github.com/antlr/antlr4/runtime/Go/antlr so it matches the imports in dax/internal/parser/expression.go as it is causing ambiguous imports in code that uses the aws-dax-go library.

cep21 commented 2 years ago

I am seeing this as well. Her is the error I get from go mod tidy

    github.com/aws/aws-dax-go/dax imports
    github.com/aws/aws-dax-go/dax/internal/client imports
    github.com/aws/aws-dax-go/dax/internal/parser imports
    github.com/antlr/antlr4/runtime/Go/antlr: ambiguous import: found package github.com/antlr/antlr4/runtime/Go/antlr in multiple modules:
    github.com/antlr/antlr4 v0.0.0-20181218183524-be58ebffde8e (C:\Users\X\go\pkg\mod\github.com\antlr\antlr4@v0.0.0-20181218183524-be58ebffde8e\runtime\Go\antlr)
    github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e (C:\Users\X\go\pkg\mod\github.com\antlr\antlr4\runtime\!go\antlr@v0.0.0-20210826220005-b48c857c3a0e)
cep21 commented 2 years ago

Any updates on this task?