Documentation
¶
Index ¶
- Variables
- type Snippet
- func (*Snippet) Descriptor() ([]byte, []int)deprecated
- func (x *Snippet) GetContent() string
- func (x *Snippet) GetDescription() string
- func (x *Snippet) GetFilename() string
- func (x *Snippet) GetId() string
- func (*Snippet) ProtoMessage()
- func (x *Snippet) ProtoReflect() protoreflect.Message
- func (x *Snippet) Reset()
- func (x *Snippet) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_pb_snippet_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Snippet ¶
type Snippet struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Snippet) Descriptor
deprecated
func (*Snippet) GetContent ¶
func (*Snippet) GetDescription ¶
func (*Snippet) GetFilename ¶
func (*Snippet) ProtoMessage ¶
func (*Snippet) ProtoMessage()
func (*Snippet) ProtoReflect ¶
func (x *Snippet) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.