tkrajina/typescriptify-golang-structs

Always use Forward Slash "/" for package paths

sampaioletti opened this issue · 2 comments

From tscriptify/main.go:78

packageParts := strings.Split(packagePath, string(os.PathSeparator))

packages in go always use forward slash even on windows

https://stackoverflow.com/questions/45323772/invalid-import-path-go-windows

should be

packageParts := strings.Split(packagePath, "/")

Yes, you're right, silly mistake on my part.

Fixed now (9191385). Thanks!