this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cborgen

+1 -37
+1 -37
api/atproto/cbor_gen.go
··· 343 343 } 344 344 345 345 cw := cbg.NewCborWriter(w) 346 - fieldCount := 13 346 + fieldCount := 12 347 347 348 348 if t.Blocks == nil { 349 349 fieldCount-- ··· 426 426 if err := cw.WriteMajorTypeHeader(cbg.MajNegativeInt, uint64(-t.Seq-1)); err != nil { 427 427 return err 428 428 } 429 - } 430 - 431 - // t.Prev (util.LexLink) (struct) 432 - if len("prev") > 1000000 { 433 - return xerrors.Errorf("Value in field \"prev\" was too long") 434 - } 435 - 436 - if err := cw.WriteMajorTypeHeader(cbg.MajTextString, uint64(len("prev"))); err != nil { 437 - return err 438 - } 439 - if _, err := cw.WriteString(string("prev")); err != nil { 440 - return err 441 - } 442 - 443 - if err := t.Prev.MarshalCBOR(cw); err != nil { 444 - return err 445 429 } 446 430 447 431 // t.Repo (string) (string) ··· 768 752 } 769 753 770 754 t.Seq = int64(extraI) 771 - } 772 - // t.Prev (util.LexLink) (struct) 773 - case "prev": 774 - 775 - { 776 - 777 - b, err := cr.ReadByte() 778 - if err != nil { 779 - return err 780 - } 781 - if b != cbg.CborNull[0] { 782 - if err := cr.UnreadByte(); err != nil { 783 - return err 784 - } 785 - t.Prev = new(util.LexLink) 786 - if err := t.Prev.UnmarshalCBOR(cr); err != nil { 787 - return xerrors.Errorf("unmarshaling t.Prev pointer: %w", err) 788 - } 789 - } 790 - 791 755 } 792 756 // t.Repo (string) (string) 793 757 case "repo":