comments

package
v0.0.0-...-5d37a61 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_api_comments_comments_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Author    string                 `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	WrittenAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	UpdatedBy string                 `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	Text      string                 `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*Comment) Descriptor deprecated

func (*Comment) Descriptor() ([]byte, []int)

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetAuthor

func (x *Comment) GetAuthor() string

func (*Comment) GetText

func (x *Comment) GetText() string

func (*Comment) GetUpdatedAt

func (x *Comment) GetUpdatedAt() *timestamppb.Timestamp

func (*Comment) GetUpdatedBy

func (x *Comment) GetUpdatedBy() string

func (*Comment) GetWrittenAt

func (x *Comment) GetWrittenAt() *timestamppb.Timestamp

func (*Comment) MarshalToSizedBufferVT

func (m *Comment) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Comment) MarshalToVT

func (m *Comment) MarshalToVT(dAtA []byte) (int, error)

func (*Comment) MarshalVT

func (m *Comment) MarshalVT() (dAtA []byte, err error)

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

func (x *Comment) ProtoReflect() protoreflect.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) SizeVT

func (m *Comment) SizeVT() (n int)

func (*Comment) String

func (x *Comment) String() string

func (*Comment) UnmarshalVT

func (m *Comment) UnmarshalVT(dAtA []byte) error

type Comments

type Comments struct {
	Items []*Comment `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Comments) Descriptor deprecated

func (*Comments) Descriptor() ([]byte, []int)

Deprecated: Use Comments.ProtoReflect.Descriptor instead.

func (*Comments) GetItems

func (x *Comments) GetItems() []*Comment

func (*Comments) MarshalToSizedBufferVT

func (m *Comments) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Comments) MarshalToVT

func (m *Comments) MarshalToVT(dAtA []byte) (int, error)

func (*Comments) MarshalVT

func (m *Comments) MarshalVT() (dAtA []byte, err error)

func (*Comments) ProtoMessage

func (*Comments) ProtoMessage()

func (*Comments) ProtoReflect

func (x *Comments) ProtoReflect() protoreflect.Message

func (*Comments) Reset

func (x *Comments) Reset()

func (*Comments) SizeVT

func (m *Comments) SizeVT() (n int)

func (*Comments) String

func (x *Comments) String() string

func (*Comments) UnmarshalVT

func (m *Comments) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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