caibirdme / yql

yet another query language for rule engine in golang
MIT License
309 stars 52 forks source link

Ambiguous import problem with the antlr module #10

Open jzheng13 opened 2 years ago

jzheng13 commented 2 years ago

The import needs to be updated in go.mod in accordance to the newest changes made to the antlr package, or the versioning should be limited so that it only downloads the compatible version.

github.com/test_user/test_repo imports
    github.com/caibirdme/yql 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-20210121092344-5dce78c87a9e (/Users/me/go/pkg/mod/github.com/antlr/antlr4@v0.0.0-20210121092344-5dce78c87a9e/runtime/Go/antlr)
    github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e (/Users/me/go/pkg/mod/github.com/antlr/antlr4/runtime/!go/antlr@v0.0.0-20210826220005-b48c857c3a0e)

Antlr issue: https://github.com/antlr/antlr4/issues/3188