Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moul/multipmuri
A library to parse project-management URIs (inspired by @multiformats)
https://github.com/moul/multipmuri
github gitlab jira multiformats project-management trello uri
Last synced: 15 days ago
JSON representation
A library to parse project-management URIs (inspired by @multiformats)
- Host: GitHub
- URL: https://github.com/moul/multipmuri
- Owner: moul
- License: apache-2.0
- Created: 2019-07-23T16:19:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T14:13:25.000Z (4 months ago)
- Last Synced: 2024-10-07T21:01:31.224Z (29 days ago)
- Topics: github, gitlab, jira, multiformats, project-management, trello, uri
- Language: Go
- Homepage: https://manfred.life/golang
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# multipmuri
> A library to parse project-management URIs (inspired by @multiformats)
[![CircleCI](https://circleci.com/gh/moul/multipmuri.svg?style=shield)](https://circleci.com/gh/moul/multipmuri)
[![GoDoc](https://godoc.org/moul.io/multipmuri?status.svg)](https://godoc.org/moul.io/multipmuri)
[![License](https://img.shields.io/github/license/moul/multipmuri.svg)](https://github.com/moul/multipmuri/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/moul/multipmuri.svg)](https://github.com/moul/multipmuri/releases)
[![Go Report Card](https://goreportcard.com/badge/moul.io/multipmuri)](https://goreportcard.com/report/moul.io/multipmuri)
[![CodeFactor](https://www.codefactor.io/repository/github/moul/multipmuri/badge)](https://www.codefactor.io/repository/github/moul/multipmuri)
[![codecov](https://codecov.io/gh/moul/multipmuri/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/multipmuri)
[![Made by Manfred Touron](https://img.shields.io/badge/made%20by-Manfred%20Touron-blue.svg?style=flat)](https://manfred.life/)## Usage
This libraries parses an URI that you could find in a README, markdown, comment field of the populat project-management tools.
You can use the library to parse an URI:
* without context (i.e. `github.com/moul/depviz#42`)
* with a context (i.e. `#42` in the context of `github.com/moul/depviz`)```golang
import "moul.io/multipmuri"depviz42, _ := multipmuri.DecodeString("github.com/moul/depviz#42")
fmt.Println(depviz42) // https://github.com/moul/depviz/issues/42depviz43, _ := depviz42.RelDecodeString("#43")
fmt.Println(depviz43) // https://github.com/moul/depviz/issues/43
```## Install
```console
$ go get -u moul.io/multipmuri
```## License
© 2019 [Manfred Touron](https://manfred.life) -
[Apache-2.0 License](https://github.com/moul/multipmuri/blob/master/LICENSE)