This PR changes the project structure to improve maintainability and usability. Specifically, it moves the v2/ source code to the root directory of the project and deletes the v2/ directory. Along with #175, this means that v1 is officially deprecated and will no longer receive updates.
Please use github.com/Comcast/gots/v2 instead.
I have also updated the Go reference badge in the README.md to point to gots/v2 instead.
Background
Previously, the root directory of the project contained the github.com/Comcast/gots module and its source code (AKA the "v1" module). However, it also had a v2/ directory, which contained the github.com/Comcast/gots/v2 module. The two modules actually had the same code; the only differences were the module name and import paths.
This convoluted structure was implemented to ensure backwards compatibility with $GOPATH users, but with the widespread adoption of Go modules, it seemed appropriate to deprecate $GOPATH support in favor of project maintainability.
This PR changes the project structure to improve maintainability and usability. Specifically, it moves the
v2/
source code to the root directory of the project and deletes thev2/
directory. Along with #175, this means that v1 is officially deprecated and will no longer receive updates.Please use
github.com/Comcast/gots/v2
instead.I have also updated the Go reference badge in the
README.md
to point togots/v2
instead.Background
Previously, the root directory of the project contained the
github.com/Comcast/gots
module and its source code (AKA the "v1" module). However, it also had av2/
directory, which contained thegithub.com/Comcast/gots/v2
module. The two modules actually had the same code; the only differences were the module name and import paths.This convoluted structure was implemented to ensure backwards compatibility with
$GOPATH
users, but with the widespread adoption of Go modules, it seemed appropriate to deprecate$GOPATH
support in favor of project maintainability.