docs

package
Version: v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

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

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.

Source Files

Jump to

Keyboard shortcuts

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