errorhandling

package
v0.0.0-...-144e09d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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