records

package
v0.0.0-...-430e21d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	LexiconTypeID string `json:"$type,const=world.bsky.demo.comment" cborgen:"$type,const=world.bsky.demo.comment"`
	Profile       string `json:"profile" cborgen:"profile"`
	CreatedAt     int64  `json:"createdAt" cborgen:"createdAt"`
	Text          string `json:"text" cborgen:"text"`
}

func (*Comment) MarshalCBOR

func (t *Comment) MarshalCBOR(w io.Writer) error

func (*Comment) UnmarshalCBOR

func (t *Comment) UnmarshalCBOR(r io.Reader) (err error)

type Profile

type Profile struct {
	LexiconTypeID string   `json:"$type,const=world.bsky.demo.profile" cborgen:"$type,const=world.bsky.demo.profile"`
	CreatedAt     int64    `json:"createdAt" cborgen:"createdAt"`
	Links         []string `json:"links,omitempty" cborgen:"links,omitempty"`
	Text          string   `json:"text" cborgen:"text"`
}

func (*Profile) MarshalCBOR

func (t *Profile) MarshalCBOR(w io.Writer) error

func (*Profile) UnmarshalCBOR

func (t *Profile) UnmarshalCBOR(r io.Reader) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL