We are considering to update a repository so it works well with go modules. However, there are two issues that I would like to understand beforehand:
-
The repository already has version tags, but they are not conforming to the syntax of semantic versions. Is it ok to just add a conforming semantic version? Will the previous non-conforming tags be ignored (our preferred choice), or will the go tools report errors?
-
Older versions of the code were implemented in a different programming language. When we changed to Go, we just added a new commit that removed the old code and replaced it with the new Go code. Will that confuse the go tools? I expect not, but prefer to ask nonetheless.
Thanks a lot for any hints.
Pascal