mosn / holmes

self-aware Golang profile dumper
Apache License 2.0
1.06k stars 135 forks source link

fix: package path to filepath #140

Closed songzhibin97 closed 1 year ago

Jun10ng commented 1 year ago

May I ask background?QAQ

songzhibin97 commented 1 year ago

// Package filepath implements utility routines for manipulating filename paths // in a way compatible with the target operating system-defined file paths. // // The filepath package uses either forward slashes or backslashes, // depending on the operating system. To process paths such as URLs // that always use forward slashes regardless of the operating // system, see the path package. // Package path implements utility routines for manipulating slash-separated // paths. // // The path package should only be used for paths separated by forward // slashes, such as the paths in URLs. This package does not deal with // Windows paths with drive letters or backslashes; to manipulate // operating system paths, use the path/filepath package.

Filepath is used to process file paths path is used to process url paths

Jun10ng commented 1 year ago

Thanks for your reply. LGTM