refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
8
tools/goctl/util/pathx/readlink+polyfill.go
Normal file
8
tools/goctl/util/pathx/readlink+polyfill.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package pathx
|
||||
|
||||
func ReadLink(name string) (string, error) {
|
||||
return name, nil
|
||||
}
|
||||
Reference in New Issue
Block a user