pb

package
v0.0.0-...-26823d6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Snippet.ProtoReflect.Descriptor instead.

func (*Snippet) GetContent

func (x *Snippet) GetContent() string

func (*Snippet) GetDescription

func (x *Snippet) GetDescription() string

func (*Snippet) GetFilename

func (x *Snippet) GetFilename() string

func (*Snippet) GetId

func (x *Snippet) GetId() string

func (*Snippet) ProtoMessage

func (*Snippet) ProtoMessage()

func (*Snippet) ProtoReflect

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

func (*Snippet) Reset

func (x *Snippet) Reset()

func (*Snippet) String

func (x *Snippet) String() string

Jump to

Keyboard shortcuts

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