bilibili / bilibili/gengine

是否考虑更新依赖到“github.com/antlr/antlr4/runtime/Go/antlr/v4”模块

Open
#60 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
281
PR merge metrics
No merged PRs in 30d

Description

`v1`版本的模块“github.com/antlr/antlr4/runtime/Go/antlr”好像已经“deprecated”了

```
// Deprecated: Please switch to the new v4 module path: github.com/antlr/antlr4/runtime/Go/antlr/v4 - see https://github.com/antlr/antlr4/blob/master/doc/go-target.md
module github.com/antlr/antlr4/runtime/Go/antlr
```
新的`v4`模块似乎对Go下游兼容性更好而且能有效避免`ambiguous import`的问题。

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the Go project for references to github.com/antlr/antlr4/runtime/Go/antlr and inspect the dependency declarations. Review the linked antlr4 Go module guidance first, then update the project to the v4 module path and run the available Go tests; done means the project builds without ambiguous-import errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.