An open API service indexing awesome lists of open source software.

https://github.com/alranel/go-vcsurl

Go library for parsing and manipulating URLs of VCS services
https://github.com/alranel/go-vcsurl

github golang vcs

Last synced: 5 months ago
JSON representation

Go library for parsing and manipulating URLs of VCS services

Awesome Lists containing this project

README

          

# go-vcsurl

Go library for parsing and manipulating URLs of VCS services

## Overview [![GoDoc](https://godoc.org/github.com/alranel/go-vcsurl?status.svg)](https://godoc.org/github.com/alranel/go-vcsurl)

This package provides useful functions for parsing and manipulating URLs of VCS
services such as GitHub, GitLab, BitBucket. It can be used to check whether a
given URL points to an account, a repository, a file or a raw file. It also
provides functions for converting file URLs to raw URLs and root raw URLs.

## Install

```bash
go get github.com/alranel/go-vcsurl/v2
```

## Author

Alessandro Ranellucci

## License

MIT