An example true use of go work feature
$ go work init
$ go mod init github.com/Ja7ad/go-work
$ go work use mod1
$ cd mod1
$ go mod init github.com/Ja7ad/go-work/mod1
$ go work sync
for tagging each module just need use this pattern {module name}/{version with prefix v}
$ git tag mod1/v1.0.0
$ git tag mod2/v1.0.0
$ git tag mod3/v1.0.0
- first push modules with tags
git push origin main --tags
- add git address to pkg.go.dev
https://pkg.go.dev/github.com/Ja7ad/go-work