godot-go
godot-go copied to clipboard
Path Error on Windows & gofmt error due to error generating type.
Description
- When generating wrappers in windows, go confuses "\" depending on the method used for getting the file name. This can be fixed with:
preHeader := filepath.ToSlash(headerName)
on line 361 oftypes/generate.go
- As soon as this fix was done, gofmt throws an error saying it expects a symbol and found newline. Output as attachment. output.txt
Details
Go version | go1.11.5 |
Godot version | based on the output: /c/Users/*****/scoop/shims/godot (3.0.6 |
Godot-Go version/commit hash | 1746202a2001f65ff7eb635b8cd7fc2a6ea64ca2 |
OS | windows/amd64 |