2 Star 0 Fork 0

岑溪市肆悠龗悟有限责任公司/practice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
offset.pb.go 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
Tinkler 提交于 2020-02-18 00:21 +08:00 . add mulver
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: offset.proto
package echo
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Offset struct {
X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Offset) Reset() { *m = Offset{} }
func (m *Offset) String() string { return proto.CompactTextString(m) }
func (*Offset) ProtoMessage() {}
func (*Offset) Descriptor() ([]byte, []int) {
return fileDescriptor_e770a335803e04f5, []int{0}
}
func (m *Offset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Offset.Unmarshal(m, b)
}
func (m *Offset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Offset.Marshal(b, m, deterministic)
}
func (m *Offset) XXX_Merge(src proto.Message) {
xxx_messageInfo_Offset.Merge(m, src)
}
func (m *Offset) XXX_Size() int {
return xxx_messageInfo_Offset.Size(m)
}
func (m *Offset) XXX_DiscardUnknown() {
xxx_messageInfo_Offset.DiscardUnknown(m)
}
var xxx_messageInfo_Offset proto.InternalMessageInfo
func (m *Offset) GetX() float32 {
if m != nil {
return m.X
}
return 0
}
func (m *Offset) GetY() float32 {
if m != nil {
return m.Y
}
return 0
}
func init() {
proto.RegisterType((*Offset)(nil), "echo.Offset")
}
func init() { proto.RegisterFile("offset.proto", fileDescriptor_e770a335803e04f5) }
var fileDescriptor_e770a335803e04f5 = []byte{
// 77 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xc9, 0x4f, 0x4b, 0x2b,
0x4e, 0x2d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x49, 0x4d, 0xce, 0xc8, 0x57, 0x52,
0xe1, 0x62, 0xf3, 0x07, 0x8b, 0x0a, 0xf1, 0x70, 0x31, 0x56, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x30,
0x05, 0x31, 0x56, 0x80, 0x78, 0x95, 0x12, 0x4c, 0x10, 0x5e, 0x65, 0x12, 0x1b, 0x58, 0x8b, 0x31,
0x20, 0x00, 0x00, 0xff, 0xff, 0x69, 0x8f, 0x48, 0x2d, 0x42, 0x00, 0x00, 0x00,
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/yunind/practice.git
git@gitee.com:yunind/practice.git
yunind
practice
practice
1815555761d1

搜索帮助