// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. package tangled // schema: sh.tangled.repo.resolveAtUri import ( "context" "github.com/bluesky-social/indigo/lex/util" ) const ( RepoResolveAtUriNSID = "sh.tangled.repo.resolveAtUri" ) // RepoResolveAtUri_Output is the output of a sh.tangled.repo.resolveAtUri call. type RepoResolveAtUri_Output struct { Did string `json:"did" cborgen:"did"` } // RepoResolveAtUri calls the XRPC method "sh.tangled.repo.resolveAtUri". func RepoResolveAtUri(ctx context.Context, c util.LexClient, atUri string) (*RepoResolveAtUri_Output, error) { var out RepoResolveAtUri_Output params := map[string]interface{}{} params["atUri"] = atUri if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.resolveAtUri", params, nil, &out); err != nil { return nil, err } return &out, nil }