Categorygitlab.com/golang-commonmark/mdurl
modulepackage
0.0.0-20191124015652-932350d1cb84
Repository: https://gitlab.com/golang-commonmark/mdurl.git
Documentation: pkg.go.dev

# README

mdurl License GoDoc Pipeline status

Package mdurl provides functions for parsing, decoding and encoding URLs.

Install

go get -u gitlab.com/golang-commonmark/mdurl

# Functions

Decode decodes a percent-encoded URL.
Encode percent-encodes rawurl, avoiding double encoding.
Parse parses rawurl into a URL structure.

# Variables

ErrMissingScheme error is returned by Parse if the passed URL starts with a colon.

# Structs

A URL represents a parsed URL.