urljoiner

package module
v0.0.0-...-5cabba6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: Apache-2.0 Imports: 0 Imported by: 51

README

urljoiner

A utility for joining together path segments into URLs.

Import via code.cloudfoundry.org/urljoiner.

Example

url := urljoiner.Join("https://example.com", "foo", "bar")
# produces "https://example.com/foo/bar"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(base string, components ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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