func path/filepath.Rel

one use

	path/filepath (current package)
		path.go#L185: func Rel(basePath, targPath string) (string, error) {