Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveGoPath

func RemoveGoPath(path string) string

    RemoveGoPath makes a path relative to one of the src directories in the $GOPATH environment variable. If $GOPATH is empty or the input path is not contained within any of the src directories in $GOPATH, the original path is returned. If the input path is contained within multiple of the src directories in $GOPATH, it is made relative to the longest one of them.

    Types

    This section is empty.

    Source Files