regex icon indicating copy to clipboard operation
regex copied to clipboard

Consider tagging module "syntax"?

Open Rick-xuy opened this issue 2 years ago • 0 comments

I found that package github.com/quasilyte/regex/syntax is placed in submodule github.com/quasilyte/regex/syntax.
However, it seems that module github.com/quasilyte/regex/syntax is not tagged. According to Go Modules wiki, submodule should be tagged like relative-path-to-root/vX.X.X. At now, when trying to import package github.com/quasilyte/regex/syntax, downstream would depends on pseudo-version of module github.com/quasilyte/regex/syntax.

github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727

I think it is not very readable and difficult to upgrade. This is not conductive to version control either. So, I propose whether it is possible to tag the module github.com/quasilyte/regex/syntax. For example, syntax/v0.0.1, syntax/v1.0.0etc, so that other project can use tag to import this module in go.mod.

Rick-xuy avatar Feb 18 '23 05:02 Rick-xuy