csv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "csv"

Variables

View Source
var (
	ErrInvalid = errors.New("not csv resp")
)
View Source
var File_csv_csv_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Response

type Response struct {

	// csv 名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// csv 列名
	Title *Row `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// csv 内容
	Content []*Row `protobuf:"bytes,4,rep,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

返回值

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetContent

func (x *Response) GetContent() []*Row

func (*Response) GetName

func (x *Response) GetName() string

func (*Response) GetTitle

func (x *Response) GetTitle() *Row

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Row

type Row struct {

	// 单元
	Cell []string `protobuf:"bytes,1,rep,name=cell,proto3" json:"cell,omitempty"`
	// contains filtered or unexported fields
}

func (*Row) Descriptor deprecated

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

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetCell

func (x *Row) GetCell() []string

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

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

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

Jump to

Keyboard shortcuts

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