fix symlink issue on windows for goctl (#1034)

* fix symlink issue on windows for goctl

* move readlink into separate file
This commit is contained in:
Kevin Wan
2021-09-13 11:49:07 +08:00
committed by GitHub
parent 9e2f07a842
commit 71c0288023
5 changed files with 66 additions and 47 deletions

View File

@@ -0,0 +1,8 @@
//go:build windows
// +build windows
package util
func ReadLink(name string) (string, error) {
return name, nil
}