porting all github actions from bluesky-social/indigo to tangled CI
at main 553 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package ozone 4 5// schema: tools.ozone.set.upsertSet 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// SetUpsertSet calls the XRPC method "tools.ozone.set.upsertSet". 14func SetUpsertSet(ctx context.Context, c util.LexClient, input *SetDefs_Set) (*SetDefs_SetView, error) { 15 var out SetDefs_SetView 16 if err := c.LexDo(ctx, util.Procedure, "application/json", "tools.ozone.set.upsertSet", nil, input, &out); err != nil { 17 return nil, err 18 } 19 20 return &out, nil 21}