folder

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2016 License: MIT Imports: 1 Imported by: 15

README

folder

URL to folder name parser based on antigen rules

Examples

folder.FromURL("git@github.com:getantibody/antibody.git")
// git-AT-github.com-COLON-getantibody-SLASH-antibody.git
folder.ToURL("https-COLON--SLASH--SLASH-github.com-SLASH-getantibody-SLASH-folder")
// https://github.com/getantibody/folder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromURL

func FromURL(url string) string

FromURL converts the given URL to a folder name

func ToURL

func ToURL(folder string) string

ToURL converts the given folder to an URL

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL