I have this file structure:
lib/
util.go
CHANGELOG.md
In util.go
I need to embed CHANGELOG.md
. I try:
//go:embed ../CHANGELOG.md
var changelog string
But I get this error: pattern ../CHANGELOG.md: invalid pattern syntax
If I can't embed resources via relative paths, what are the best practices for embedding resources in sub-modules?