diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-10 15:10:53 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-10 15:10:53 +0300 |
| commit | f784d30559569cba63d5d02aa3413346accea7fb (patch) | |
| tree | 36f8e4bc64cd641b2324c35999b3c053f267cad0 /internal/platforms/platform.go | |
| parent | b6be62b537ebfd3a0e2fa25c93d2408ccb418cb7 (diff) | |
v1.3.0: Snonux inbox, default platform, compose posting, gemtext filterv1.3.0
- Snonux writes plain text to gosdir/snonux/inbox
- Default -platforms includes Snonux; gosc runs post after compose
- Gemini summary skips db/platforms/snonux posted entries
Made-with: Cursor
Diffstat (limited to 'internal/platforms/platform.go')
| -rw-r--r-- | internal/platforms/platform.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/platforms/platform.go b/internal/platforms/platform.go index 95cade2..ff46a57 100644 --- a/internal/platforms/platform.go +++ b/internal/platforms/platform.go @@ -11,6 +11,7 @@ import ( "codeberg.org/snonux/gos/internal/platforms/linkedin" "codeberg.org/snonux/gos/internal/platforms/mastodon" "codeberg.org/snonux/gos/internal/platforms/noop" + "codeberg.org/snonux/gos/internal/platforms/snonux" ) type Platform string @@ -54,7 +55,7 @@ func (p Platform) Post(ctx context.Context, args config.Args, sizeLimit int, en case "noop": err = noop.Post(ctx, args, sizeLimit, en) case "snonux": - err = noop.Post(ctx, args, sizeLimit, en) + err = snonux.Post(ctx, args, sizeLimit, en) default: err = fmt.Errorf("Platform '%s' (not yet) implemented", p) } |
