Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database.
GNU General Public License v2.0
99
stars
10
forks
source link
modules: fix: version 2.0.0 is not installable via go-tooling #8
A git tag and github release was created for a version 2.0.0 but the
version was not installable via go tools and could not be added as
dependency to a go.mod file.
Append /v2 to the import path, change all references accordingly.
The retract directives for minor versions of v1 are removed. They can
only be defined in the go.mod file for the same major version.
A git tag and github release was created for a version 2.0.0 but the version was not installable via go tools and could not be added as dependency to a go.mod file.
For Major version >1 the version must be appended to the import path. This was missing. (see https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher for more information)
Append /v2 to the import path, change all references accordingly. The retract directives for minor versions of v1 are removed. They can only be defined in the go.mod file for the same major version.