Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
918c8268
Unverified
Commit
918c8268
authored
Apr 29, 2020
by
Petar Radovic
Committed by
GitHub
Apr 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pushsync doc.go fix (#147)
parent
0bc70f21
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
65 deletions
+10
-65
go.sum
go.sum
+0
-44
doc.go
pkg/pushsync/pb/doc.go
+1
-1
pushsync.pb.go
pkg/pushsync/pb/pushsync.pb.go
+9
-20
No files found.
go.sum
View file @
918c8268
This diff is collapsed.
Click to expand it.
pkg/pushsync/pb/doc.go
View file @
918c8268
...
...
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:generate sh -c "protoc -I . -I \"$(go list -f '{{ .Dir }}' -m github.com/gogo/protobuf)/protobuf\" --go
fast
_out=. pushsync.proto"
//go:generate sh -c "protoc -I . -I \"$(go list -f '{{ .Dir }}' -m github.com/gogo/protobuf)/protobuf\" --go
gofaster
_out=. pushsync.proto"
package
pb
pkg/pushsync/pb/pushsync.pb.go
View file @
918c8268
...
...
@@ -5,7 +5,7 @@ package pb
import
(
fmt
"fmt"
proto
"github.com/go
lang
/protobuf/proto"
proto
"github.com/go
go
/protobuf/proto"
io
"io"
math
"math"
math_bits
"math/bits"
...
...
@@ -20,14 +20,11 @@ var _ = math.Inf
// 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
const
_
=
proto
.
GoGo
ProtoPackageIsVersion3
// please upgrade the proto package
type
Delivery
struct
{
Address
[]
byte
`protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
Data
[]
byte
`protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
Address
[]
byte
`protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
Data
[]
byte
`protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
}
func
(
m
*
Delivery
)
Reset
()
{
*
m
=
Delivery
{}
}
...
...
@@ -84,15 +81,15 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"pushsync.proto"
,
fileDescriptor_723cf31bfc02bfd6
)
}
var
fileDescriptor_723cf31bfc02bfd6
=
[]
byte
{
// 1
14
bytes of a gzipped FileDescriptorProto
// 1
22
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x2b
,
0x28
,
0x2d
,
0xce
,
0x28
,
0xae
,
0xcc
,
0x4b
,
0xd6
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2a
,
0x48
,
0x52
,
0xb2
,
0xe0
,
0xe2
,
0x70
,
0x49
,
0xcd
,
0xc9
,
0x2c
,
0x4b
,
0x2d
,
0xaa
,
0x14
,
0x92
,
0xe0
,
0x62
,
0x77
,
0x4c
,
0x49
,
0x29
,
0x4a
,
0x2d
,
0x2e
,
0x96
,
0x60
,
0x54
,
0x60
,
0xd4
,
0xe0
,
0x09
,
0x82
,
0x71
,
0x85
,
0x84
,
0xb8
,
0x58
,
0x5c
,
0x12
,
0x4b
,
0x12
,
0x25
,
0x98
,
0xc0
,
0xc2
,
0x60
,
0xb6
,
0x93
,
0xc
0
,
0x89
,
0x47
,
0x72
,
0x8c
,
0x17
,
0x1e
,
0xc9
,
0x31
,
0x3e
,
0x78
,
0x24
,
0xc7
,
0x38
,
0xe
3
,
0xb1
,
0x1c
,
0x43
,
0x12
,
0x
1b
,
0xd8
,
0x58
,
0x63
,
0x40
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x3f
,
0x80
,
0xe2
,
0x4e
,
0x68
,
0x00
,
0x00
,
0x00
,
0xb8
,
0x58
,
0x5c
,
0x12
,
0x4b
,
0x12
,
0x25
,
0x98
,
0xc0
,
0xc2
,
0x60
,
0xb6
,
0x93
,
0xc
4
,
0x89
,
0x47
,
0x72
,
0x8c
,
0x17
,
0x1e
,
0xc9
,
0x31
,
0x3e
,
0x78
,
0x24
,
0xc7
,
0x38
,
0xe
1
,
0xb1
,
0x1c
,
0xc3
,
0x85
,
0x
c7
,
0x72
,
0x0c
,
0x37
,
0x1e
,
0xcb
,
0x31
,
0x24
,
0xb1
,
0x81
,
0x8d
,
0x37
,
0x06
,
0x04
,
0x00
,
0x00
,
0x
ff
,
0xff
,
0x79
,
0xb1
,
0x76
,
0x9e
,
0x70
,
0x00
,
0x
00
,
0x00
,
}
func
(
m
*
Delivery
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
@@ -115,10 +112,6 @@ func (m *Delivery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_
=
i
var
l
int
_
=
l
if
m
.
XXX_unrecognized
!=
nil
{
i
-=
len
(
m
.
XXX_unrecognized
)
copy
(
dAtA
[
i
:
],
m
.
XXX_unrecognized
)
}
if
len
(
m
.
Data
)
>
0
{
i
-=
len
(
m
.
Data
)
copy
(
dAtA
[
i
:
],
m
.
Data
)
...
...
@@ -161,9 +154,6 @@ func (m *Delivery) Size() (n int) {
if
l
>
0
{
n
+=
1
+
l
+
sovPushsync
(
uint64
(
l
))
}
if
m
.
XXX_unrecognized
!=
nil
{
n
+=
len
(
m
.
XXX_unrecognized
)
}
return
n
}
...
...
@@ -285,7 +275,6 @@ func (m *Delivery) Unmarshal(dAtA []byte) error {
if
(
iNdEx
+
skippy
)
>
l
{
return
io
.
ErrUnexpectedEOF
}
m
.
XXX_unrecognized
=
append
(
m
.
XXX_unrecognized
,
dAtA
[
iNdEx
:
iNdEx
+
skippy
]
...
)
iNdEx
+=
skippy
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment