Skip to content

Commit 558e322

Browse files
committed
Add slash escapes for go:embed
1 parent c1b7c2b commit 558e322

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

formatter/formatter_html.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type HTMLFormatter struct {
1111
config *Config
1212
}
1313

14-
//go:embed ..\resources\templates\simple-html.gohtml
14+
//go:embed ..\/resources\/templates\/simple-html.gohtml
1515
var HTMLSimpleTemplate string
1616

1717
// Format the data and output it to appropriate io.Writer

formatter/formatter_md.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type MarkdownFormatter struct {
1212
Config *Config
1313
}
1414

15-
//go:embed ..\resources\templates\markdown.tmpl
15+
//go:embed ..\/resources\/templates\/markdown.tmpl
1616
var MarkdownTemplate string
1717

1818
// Format the data and output it to appropriate io.Writer

0 commit comments

Comments
 (0)