commit | dd30a601ddeecfd142d4b0c17b959c5d05009d7f | [log] [tgz] |
---|---|---|
author | HowJMay <yuanyanghau@gmail.com> | Wed Sep 22 17:13:18 2021 +0000 |
committer | Jay Conrod <jayconrod@google.com> | Thu Sep 23 17:38:02 2021 +0000 |
tree | 3d1b4340299f02e80da5290364df85e3467f5e47 | |
parent | 37dd6891021a152661f432ba5349c6527c243c02 [diff] |
module: accept trailing slash in MatchPrefixPattern Trailing slash of glob was not accepted in MatchPrefixPattern. This CL starts to accept the trailing slash. Change-Id: I25e385ffe3a6901d2f475b86507d3e3091a32183 GitHub-Last-Rev: 5dbe41e5458d405a30ff82521316c6ab5e90835d GitHub-Pull-Request: golang/mod#5 Reviewed-on: https://go-review.googlesource.com/c/mod/+/351319 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Trust: Jay Conrod <jayconrod@google.com>
This repository holds packages for writing tools that work directly with Go module mechanics. That is, it is for direct manipulation of Go modules themselves.
It is NOT about supporting general development tools that need to do things like load packages in module mode. That use case, where modules are incidental rather than the focus, should remain in x/tools, specifically x/tools/go/packages.
The specific case of loading packages should still be done by invoking the go command, which remains the single point of truth for package loading algorithms.