Closed francois07 closed 2 months ago
When running resumme-builder on Windows, ParseToHtml errors outs
[FATAL] 08-07-2024 13:13:20 - ParseToHtml stackoverflow - Execute: template: "ui\\stackoverflow\\_stackoverflow.gohtml" is an incomplete or empty template
go run *.go local -f='examples/example.resume.json
Modify https://github.com/lucasnevespereira/resumme-builder/blob/9fcb32d513520de28c4b7fac0fd788fbe3f1fb70/internal/pkg/template/manager.go#L38 to use filepath instead of path.
filepath
path
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. --- https://pkg.go.dev/path/filepath
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
--- https://pkg.go.dev/path/filepath
When running resumme-builder on Windows, ParseToHtml errors outs
Steps to reproduce
go run *.go local -f='examples/example.resume.json
Solution
Modify https://github.com/lucasnevespereira/resumme-builder/blob/9fcb32d513520de28c4b7fac0fd788fbe3f1fb70/internal/pkg/template/manager.go#L38 to use
filepath
instead ofpath
.