Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
at icy/tmrrpn
1234567891011121314151617181920212223242526272829303132// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.actor.getTrending
import ( "context"
"github.com/bluesky-social/indigo/lex/util")
const ( ActorGetTrendingNSID = "sh.tangled.actor.getTrending")
// ActorGetTrending_Output is the output of a sh.tangled.actor.getTrending call.type ActorGetTrending_Output struct { People []*ActorDefs_ProfileViewDetailed `json:"people" cborgen:"people"` Repos []*RepoDefs_RepoViewBasic `json:"repos" cborgen:"repos"`}
// ActorGetTrending calls the XRPC method "sh.tangled.actor.getTrending".func ActorGetTrending(ctx context.Context, c util.LexClient) (*ActorGetTrending_Output, error) { var out ActorGetTrending_Output if err := c.LexDo(ctx, util.Query, "", "sh.tangled.actor.getTrending", nil, nil, &out); err != nil { return nil, err }
return &out, nil}