docs

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(section string) string

Path returns the url to the given section of documentation.

Types

type RepoPathURL added in v0.8.0

type RepoPathURL struct {
	// RepoPath is the relative path to an asset in the repository.
	RepoPath string
}

RepoPathURL is a URL that points to a path in the repository, helpful for identifying links that link to assets in the repository from our documentation.

func ParseRepoPathURL added in v0.8.0

func ParseRepoPathURL(url string) (RepoPathURL, bool)

ParseRepoPathURL will return true and the details of the repository path URL if the URL is a URL that points to an asset in the repository, or false otherwise.

Jump to

Keyboard shortcuts

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