I'm trying to insert a file as a variable in a go file using go generate
but it fails with bad quoted string
, the issue is that I can run this in a shell without issue:
//go:generate echo "var baseConfigProduction = \`" && cat base-production.json && echo "\`"
What am I missing here?