go-zero/tools/goctl/util/readlink+polyfill.go
Kevin Wan 71c0288023
fix symlink issue on windows for goctl (#1034)
* fix symlink issue on windows for goctl

* move readlink into separate file
2021-09-13 11:49:07 +08:00

9 lines
117 B
Go

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