x/pkgsite/cmd/pkgsite: templates aren't embedded, causing an error if run from another directory #48410
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
This issue is likely a subset of #40371.
Environment Details
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to use
pkgsite
as part of reviewing CL 349051. CC @jba.What did you expect to see?
A documentation web server running on localhost:8080.
What did you see instead?
Perhaps
//go:embed
can be helpful for resolving this issue.The text was updated successfully, but these errors were encountered: