Skip to content

Instantly share code, notes, and snippets.

@imsodin
Last active March 21, 2019 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imsodin/b1bfc8a17180404cfcc3ef4da1107c7b to your computer and use it in GitHub Desktop.
Save imsodin/b1bfc8a17180404cfcc3ef4da1107c7b to your computer and use it in GitHub Desktop.
package main
import (
"path/filepath"
)
var root = `C:\parent\child`
func main() {
fmt.Println(filepath.EvalSymlinks(root))
fmt.Println(filepath.EvalSymlinks(`\\?\` + root))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment