Skip to main content
Glama
Southclaws

Storyden

by Southclaws
probe.go639 B
package thread_querier import ( "context" "github.com/Southclaws/fault" "github.com/Southclaws/fault/fctx" "github.com/Southclaws/fault/ftag" "github.com/rs/xid" "github.com/Southclaws/storyden/app/resources/post" "github.com/Southclaws/storyden/app/resources/post/thread" ent_post "github.com/Southclaws/storyden/internal/ent/post" ) func (q *Querier) Probe(ctx context.Context, id post.ID) (*thread.ThreadRef, error) { p, err := q.db.Post. Query(). Where(ent_post.IDEQ(xid.ID(id))). Only(ctx) if err != nil { return nil, fault.Wrap(err, fctx.With(ctx), ftag.With(ftag.Internal)) } return thread.MapRef(p), nil }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server