fix spelling (#551)

This commit is contained in:
anqiansong
2021-03-08 18:23:12 +08:00
committed by GitHub
parent 7ad86a52f3
commit 60c7edf8f8
13 changed files with 27 additions and 27 deletions

View File

@@ -33,7 +33,7 @@ func MkdirIfNotExist(dir string) error {
return nil
}
// PathFromGoSrc returns the path whihout slash where has been trim the prefix $GOPATH
// PathFromGoSrc returns the path without slash where has been trim the prefix $GOPATH
func PathFromGoSrc() (string, error) {
dir, err := os.Getwd()
if err != nil {