diff --git a/PURL-TYPES.rst b/PURL-TYPES.rst index b24f685..e488092 100644 --- a/PURL-TYPES.rst +++ b/PURL-TYPES.rst @@ -259,14 +259,13 @@ golang - There is no default package repository: this is implied in the namespace using the ``go get`` command conventions. - The ``namespace`` and `name` must be lowercased. -- The ``subpath`` is used to point to a subpath inside a package. -- The ``version`` is often empty when a commit is not specified and should be - the commit in most cases when available. +- The ``subpath`` is used to point to a package inside a module. +- The ``version`` may start with a lowercased "v" followed by: a semantic version, or a Go "pseudo-version", which consists of a semantic version followed by a timestamp and revision identifier. - Examples:: - pkg:golang/github.com/gorilla/context@234fd47e07d1004f0aed9c + pkg:golang/github.com/gorilla/context@v1.1.1 pkg:golang/google.golang.org/genproto#googleapis/api/annotations - pkg:golang/github.com/gorilla/context@234fd47e07d1004f0aed9c#api + pkg:golang/golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c#collate hackage -------