From deea4462f649c25457b8cb86afc2a336dbec583f Mon Sep 17 00:00:00 2001 From: Jon Udell Date: Fri, 12 Sep 2025 13:09:15 -0700 Subject: [PATCH] fix: add missing replace directive for mastodon plugin - Add replace directive for github.com/mattn/go-mastodon => github.com/turbot/go-mastodon v0.0.1 - This fixes build failures for plugins that depend on forked libraries - The mastodon plugin requires the turbot fork which has additional methods - Without this directive, builds fall back to the original library missing required methods Fixes build issues with steampipe-plugin-mastodon@v1.2.0 and similar plugins --- templates/go.mod.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/go.mod.tmpl b/templates/go.mod.tmpl index 98dcf3f..db96371 100644 --- a/templates/go.mod.tmpl +++ b/templates/go.mod.tmpl @@ -12,3 +12,5 @@ require ( golang.org/x/exp v0.0.0-20231006140011-7918f672742d google.golang.org/protobuf v1.31.0 ) + +replace github.com/mattn/go-mastodon => github.com/turbot/go-mastodon v0.0.1