Blog changes + tests (#4)

* Blog changes + tests

* Fix build

* Fix

* Add back step

* Fix logger

* Fix test

* Typo

* Better test

* Changes to tests

* Update micro

* Fixing all them things

* Fixing even more things :))

* Bump micro

* Fix posts and tags by following micro changes

* Trying to pin workflow to correct micro version

* huh

* Bump go micro

* Add etcd replace

* Changing a bunch of things

* Denormalize to fix bug

* Fixes
This commit is contained in:
Janos Dobronszki
2020-10-15 15:09:59 +02:00
committed by GitHub
parent 4eb8479f9f
commit 6e8d7f4248
30 changed files with 1203 additions and 1449 deletions

View File

@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test/service/rpc/proto/stream.proto
// source: proto/stream.proto
package stream
@@ -36,7 +36,7 @@ func (m *Point) Reset() { *m = Point{} }
func (m *Point) String() string { return proto.CompactTextString(m) }
func (*Point) ProtoMessage() {}
func (*Point) Descriptor() ([]byte, []int) {
return fileDescriptor_3a6280eeb8b3790e, []int{0}
return fileDescriptor_45777bc300452f06, []int{0}
}
func (m *Point) XXX_Unmarshal(b []byte) error {
@@ -87,7 +87,7 @@ func (m *Rectangle) Reset() { *m = Rectangle{} }
func (m *Rectangle) String() string { return proto.CompactTextString(m) }
func (*Rectangle) ProtoMessage() {}
func (*Rectangle) Descriptor() ([]byte, []int) {
return fileDescriptor_3a6280eeb8b3790e, []int{1}
return fileDescriptor_45777bc300452f06, []int{1}
}
func (m *Rectangle) XXX_Unmarshal(b []byte) error {
@@ -138,7 +138,7 @@ func (m *Feature) Reset() { *m = Feature{} }
func (m *Feature) String() string { return proto.CompactTextString(m) }
func (*Feature) ProtoMessage() {}
func (*Feature) Descriptor() ([]byte, []int) {
return fileDescriptor_3a6280eeb8b3790e, []int{2}
return fileDescriptor_45777bc300452f06, []int{2}
}
func (m *Feature) XXX_Unmarshal(b []byte) error {
@@ -188,7 +188,7 @@ func (m *RouteNote) Reset() { *m = RouteNote{} }
func (m *RouteNote) String() string { return proto.CompactTextString(m) }
func (*RouteNote) ProtoMessage() {}
func (*RouteNote) Descriptor() ([]byte, []int) {
return fileDescriptor_3a6280eeb8b3790e, []int{3}
return fileDescriptor_45777bc300452f06, []int{3}
}
func (m *RouteNote) XXX_Unmarshal(b []byte) error {
@@ -245,7 +245,7 @@ func (m *RouteSummary) Reset() { *m = RouteSummary{} }
func (m *RouteSummary) String() string { return proto.CompactTextString(m) }
func (*RouteSummary) ProtoMessage() {}
func (*RouteSummary) Descriptor() ([]byte, []int) {
return fileDescriptor_3a6280eeb8b3790e, []int{4}
return fileDescriptor_45777bc300452f06, []int{4}
}
func (m *RouteSummary) XXX_Unmarshal(b []byte) error {
@@ -303,33 +303,33 @@ func init() {
}
func init() {
proto.RegisterFile("test/service/rpc/proto/stream.proto", fileDescriptor_3a6280eeb8b3790e)
proto.RegisterFile("proto/stream.proto", fileDescriptor_45777bc300452f06)
}
var fileDescriptor_3a6280eeb8b3790e = []byte{
// 384 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0xca, 0xd3, 0x40,
0x10, 0xfd, 0xb6, 0x7e, 0x3f, 0xcd, 0x24, 0x1f, 0xe2, 0xe0, 0x45, 0x08, 0x8a, 0x1a, 0x41, 0xea,
0x4d, 0x5b, 0x2a, 0xd4, 0x6b, 0x29, 0x58, 0x05, 0x91, 0x12, 0xbd, 0x2f, 0x6b, 0x32, 0xb6, 0x0b,
0x49, 0xb6, 0x64, 0x27, 0x82, 0xcf, 0xe1, 0x33, 0xfa, 0x1e, 0x92, 0xdd, 0x4d, 0x6c, 0x6d, 0xf1,
0x2e, 0xe7, 0x9c, 0x39, 0x33, 0x3b, 0x67, 0x02, 0xaf, 0x98, 0x0c, 0xcf, 0x0c, 0x35, 0x3f, 0x54,
0x4e, 0x33, 0xc3, 0x0d, 0xc9, 0x6a, 0x76, 0x68, 0x34, 0x6b, 0x0f, 0xa6, 0x16, 0xe0, 0xad, 0x43,
0xe9, 0x3b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xe2, 0x6b, 0xab, 0x87, 0x9e, 0xfb, 0xaa, 0x2a,
0x5a, 0xfc, 0x16, 0x00, 0xf6, 0x55, 0xeb, 0x56, 0x15, 0x84, 0x53, 0x80, 0x35, 0x71, 0x9f, 0xe1,
0xe9, 0x96, 0xc9, 0xc3, 0x1e, 0x7a, 0x3d, 0xbd, 0xc2, 0x25, 0x44, 0x9f, 0x94, 0xe9, 0x0d, 0x06,
0x1f, 0xf5, 0x25, 0xc3, 0x45, 0x2f, 0xb8, 0xe6, 0x02, 0x97, 0x10, 0x66, 0x94, 0xeb, 0xa6, 0xb0,
0xb3, 0xff, 0x1d, 0xf4, 0x78, 0xe8, 0x72, 0x94, 0x57, 0x7a, 0x35, 0x11, 0xf8, 0xd6, 0x9f, 0x65,
0xb5, 0x97, 0x7c, 0x34, 0xac, 0xbf, 0x54, 0x72, 0x4e, 0x75, 0xb6, 0xb9, 0xf8, 0x76, 0x6b, 0x7f,
0xdb, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x08, 0xd9, 0x0d, 0xe0, 0x02, 0x00, 0x00,
var fileDescriptor_45777bc300452f06 = []byte{
// 371 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x4b, 0xfb, 0x40,
0x10, 0xed, 0xf6, 0xd7, 0x3f, 0xbf, 0x4c, 0x52, 0xc4, 0xc1, 0x43, 0x29, 0x8a, 0x1a, 0x2f, 0xf5,
0x52, 0x4b, 0x05, 0x3d, 0x4b, 0xc1, 0x2a, 0x88, 0x94, 0xe8, 0xbd, 0xac, 0xc9, 0xda, 0x2e, 0x24,
0xd9, 0x92, 0x6c, 0x0e, 0x7e, 0x0e, 0x3f, 0xa3, 0xdf, 0xc3, 0xcd, 0xee, 0x26, 0xb6, 0xb6, 0x78,
0xcb, 0xbc, 0x37, 0x6f, 0xde, 0xec, 0x9b, 0x00, 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
0x7b, 0x55, 0xe3, 0x39, 0x78, 0x2c, 0xa6, 0xeb, 0x9c, 0x45, 0x0b, 0xc9, 0x55, 0x16, 0x2d, 0xcd,
0xbb, 0x16, 0x7b, 0x55, 0xd0, 0xe4, 0x8b, 0x00, 0xe8, 0xad, 0x66, 0x05, 0x57, 0x97, 0x1a, 0x01,
0xcc, 0x98, 0xac, 0x32, 0xdc, 0x7e, 0xe5, 0xe0, 0xa0, 0x2a, 0x2d, 0xef, 0x37, 0xf0, 0x06, 0xbc,
0x27, 0xe5, 0x66, 0x81, 0x1c, 0x0f, 0xab, 0x96, 0xfa, 0xa2, 0x7b, 0x54, 0x63, 0xa2, 0x74, 0xae,
0xea, 0x10, 0x59, 0xa4, 0xbd, 0x7f, 0x1b, 0x1d, 0xd5, 0x53, 0x36, 0xf2, 0xf2, 0x1b, 0x43, 0x82,
0xb7, 0xf6, 0x2c, 0xd3, 0x15, 0x95, 0x1b, 0x66, 0xd5, 0xa5, 0x06, 0xbb, 0x50, 0x29, 0x1b, 0x93,
0xb7, 0x8e, 0xfe, 0x6d, 0xaf, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x12, 0xaf, 0xc8, 0xcc,
0x02, 0x00, 0x00,
}

View File

@@ -1,21 +1,19 @@
// Code generated by protoc-gen-micro. DO NOT EDIT.
// source: test/service/rpc/proto/stream.proto
// source: proto/stream.proto
package stream
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
math "math"
)
import (
context "context"
api "github.com/micro/go-micro/v3/api"
client "github.com/micro/go-micro/v3/client"
server "github.com/micro/go-micro/v3/server"
api "github.com/micro/micro/v3/service/api"
client "github.com/micro/micro/v3/service/client"
server "github.com/micro/micro/v3/service/server"
)
// Reference imports to suppress errors if they are not otherwise used.