While writing a plugin, I have troubles compiling it.
github.com/mattermost/mattermost-server/v6/model import in .go file
go build it
Plugin should compile
Build fails with:
../../firstname.lastname@example.org/model/link_metadata.go:53:39: undefined: opengraph.Image
I can see that repo’s model/link_metadata.go has
"github.com/dyatlov/go-opengraph/opengraph/types/image" import, but what I get in my ~\go\pkg has no such line. This is true for 6.7.2, 6.3.0, 6.2.1. And this is strangely enough, as my previous plugin compiled successfully with 6.3.0
Maybe you need to update go.mod with
github.com/dyatlov/go-opengraph v1.0.1 and skip that
exclude hack ?