Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/reiver/go-pathmatch

Package pathmatch provides pattern matching for path templates. A path template might look something like the following: Or: Or: Or: This path template could be a file system path, or a path could be a path from a URL (such as an HTTP or HTTPS based URL). To compile one of these pattern templates, you would do something such as: (In addition to the pathmatch.CompileTo() func, there is also the pathmatch.Compile(), and pathmatch.MustCompile(). But pathmatch.CompileTo() is recommended over the other 2 options for most cases.) One you have the compiled pattern, you would either use pathmatch.Match(), pathmatch.Find(), or pathmatch.FindAndLoad() depending on what you were trying to accomplish. Example Usage Alternate Example Usage

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/reiver/go-pathmatch
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/reiver
Last synced: 20 days ago

    Loading...
    Readme
    Loading...