go-vcsurl
Go library for parsing and manipulating URLs of VCS services
Overview
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
go get github.com/alranel/go-vcsurl/v2
Author
Alessandro Ranellucci
License
MIT