mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Remove references to go-micro (#13)
* Remove references to go-micro * Fix proto import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: proto/idiomatic.proto
|
||||
// source: github.com/micro/services/test/template/proto/idiomatic.proto
|
||||
|
||||
package idiomatic
|
||||
|
||||
@@ -31,7 +31,7 @@ func (m *Message) Reset() { *m = Message{} }
|
||||
func (m *Message) String() string { return proto.CompactTextString(m) }
|
||||
func (*Message) ProtoMessage() {}
|
||||
func (*Message) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{0}
|
||||
return fileDescriptor_62f877917a7b488e, []int{0}
|
||||
}
|
||||
|
||||
func (m *Message) XXX_Unmarshal(b []byte) error {
|
||||
@@ -70,7 +70,7 @@ func (m *Request) Reset() { *m = Request{} }
|
||||
func (m *Request) String() string { return proto.CompactTextString(m) }
|
||||
func (*Request) ProtoMessage() {}
|
||||
func (*Request) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{1}
|
||||
return fileDescriptor_62f877917a7b488e, []int{1}
|
||||
}
|
||||
|
||||
func (m *Request) XXX_Unmarshal(b []byte) error {
|
||||
@@ -109,7 +109,7 @@ func (m *Response) Reset() { *m = Response{} }
|
||||
func (m *Response) String() string { return proto.CompactTextString(m) }
|
||||
func (*Response) ProtoMessage() {}
|
||||
func (*Response) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{2}
|
||||
return fileDescriptor_62f877917a7b488e, []int{2}
|
||||
}
|
||||
|
||||
func (m *Response) XXX_Unmarshal(b []byte) error {
|
||||
@@ -148,7 +148,7 @@ func (m *StreamingRequest) Reset() { *m = StreamingRequest{} }
|
||||
func (m *StreamingRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*StreamingRequest) ProtoMessage() {}
|
||||
func (*StreamingRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{3}
|
||||
return fileDescriptor_62f877917a7b488e, []int{3}
|
||||
}
|
||||
|
||||
func (m *StreamingRequest) XXX_Unmarshal(b []byte) error {
|
||||
@@ -187,7 +187,7 @@ func (m *StreamingResponse) Reset() { *m = StreamingResponse{} }
|
||||
func (m *StreamingResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*StreamingResponse) ProtoMessage() {}
|
||||
func (*StreamingResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{4}
|
||||
return fileDescriptor_62f877917a7b488e, []int{4}
|
||||
}
|
||||
|
||||
func (m *StreamingResponse) XXX_Unmarshal(b []byte) error {
|
||||
@@ -226,7 +226,7 @@ func (m *Ping) Reset() { *m = Ping{} }
|
||||
func (m *Ping) String() string { return proto.CompactTextString(m) }
|
||||
func (*Ping) ProtoMessage() {}
|
||||
func (*Ping) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{5}
|
||||
return fileDescriptor_62f877917a7b488e, []int{5}
|
||||
}
|
||||
|
||||
func (m *Ping) XXX_Unmarshal(b []byte) error {
|
||||
@@ -265,7 +265,7 @@ func (m *Pong) Reset() { *m = Pong{} }
|
||||
func (m *Pong) String() string { return proto.CompactTextString(m) }
|
||||
func (*Pong) ProtoMessage() {}
|
||||
func (*Pong) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_70718d389c4b1652, []int{6}
|
||||
return fileDescriptor_62f877917a7b488e, []int{6}
|
||||
}
|
||||
|
||||
func (m *Pong) XXX_Unmarshal(b []byte) error {
|
||||
@@ -303,25 +303,29 @@ func init() {
|
||||
proto.RegisterType((*Pong)(nil), "idiomatic.Pong")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("proto/idiomatic.proto", fileDescriptor_70718d389c4b1652) }
|
||||
|
||||
var fileDescriptor_70718d389c4b1652 = []byte{
|
||||
// 270 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x3f, 0x4f, 0xc3, 0x30,
|
||||
0x10, 0xc5, 0x6b, 0xb5, 0xa4, 0xcd, 0x2d, 0x6d, 0x8f, 0x3f, 0x42, 0x69, 0x41, 0xc8, 0x53, 0x58,
|
||||
0x4a, 0x29, 0x23, 0x1b, 0x0c, 0x88, 0x01, 0x09, 0x85, 0x8d, 0xcd, 0x14, 0xcb, 0xb2, 0xa8, 0xed,
|
||||
0x92, 0x73, 0x07, 0x3e, 0x1b, 0x5f, 0x0e, 0xc5, 0x71, 0x4a, 0x8a, 0xca, 0x76, 0xf7, 0x7e, 0xef,
|
||||
0x4e, 0xef, 0x6c, 0x38, 0x5e, 0x97, 0xce, 0xbb, 0x2b, 0xfd, 0xae, 0x9d, 0x11, 0x5e, 0x2f, 0x67,
|
||||
0xa1, 0xc7, 0x74, 0x2b, 0xf0, 0x09, 0xf4, 0x9f, 0x24, 0x91, 0x50, 0x12, 0x47, 0xd0, 0x25, 0xf1,
|
||||
0x75, 0xca, 0x2e, 0x58, 0x9e, 0x16, 0x55, 0xc9, 0xcf, 0xa0, 0x5f, 0xc8, 0xcf, 0x8d, 0x24, 0x8f,
|
||||
0x08, 0x3d, 0x2b, 0x8c, 0x8c, 0x34, 0xd4, 0x7c, 0x0a, 0x83, 0x42, 0xd2, 0xda, 0x59, 0x0a, 0xc3,
|
||||
0x86, 0x54, 0x33, 0x6c, 0x48, 0xf1, 0x1c, 0x46, 0x2f, 0xbe, 0x94, 0xc2, 0x68, 0xab, 0x9a, 0x2d,
|
||||
0x47, 0x70, 0xb0, 0x74, 0x1b, 0xeb, 0x83, 0xaf, 0x5b, 0xd4, 0x0d, 0xbf, 0x84, 0x71, 0xcb, 0x19,
|
||||
0x17, 0xee, 0xb7, 0x9e, 0x43, 0xef, 0x59, 0x5b, 0x85, 0x27, 0x90, 0x90, 0x2f, 0xdd, 0x87, 0x8c,
|
||||
0x38, 0x76, 0x81, 0xbb, 0xff, 0xf9, 0xe2, 0x9b, 0x41, 0xfa, 0xd8, 0x1c, 0x8f, 0xd7, 0xd0, 0xbb,
|
||||
0x17, 0xab, 0x15, 0xe2, 0xec, 0xf7, 0x85, 0x62, 0xd4, 0xec, 0x70, 0x47, 0xab, 0x43, 0xf1, 0x0e,
|
||||
0x3e, 0x40, 0x52, 0x67, 0xc5, 0x49, 0xcb, 0xf0, 0xf7, 0xd0, 0x6c, 0xba, 0x1f, 0x36, 0x6b, 0xe6,
|
||||
0x0c, 0x17, 0x30, 0xa8, 0x2e, 0x09, 0x69, 0x87, 0x2d, 0x77, 0x25, 0x66, 0x3b, 0x82, 0xb3, 0x8a,
|
||||
0x77, 0x72, 0x36, 0x67, 0x77, 0xe3, 0xd7, 0x61, 0xf8, 0xc0, 0xdb, 0x2d, 0x7d, 0x4b, 0x82, 0x70,
|
||||
0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xd7, 0xdf, 0x69, 0xea, 0x01, 0x00, 0x00,
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/micro/services/test/template/proto/idiomatic.proto", fileDescriptor_62f877917a7b488e)
|
||||
}
|
||||
|
||||
var fileDescriptor_62f877917a7b488e = []byte{
|
||||
// 303 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xbd, 0x4e, 0x33, 0x31,
|
||||
0x10, 0x8c, 0x95, 0x7c, 0xf9, 0xd9, 0xe6, 0x0b, 0x06, 0x21, 0x94, 0x04, 0x84, 0x5c, 0x85, 0x26,
|
||||
0x0e, 0xa1, 0x40, 0x08, 0xd1, 0x40, 0x81, 0x28, 0x90, 0xd0, 0xd1, 0xd1, 0x39, 0xc7, 0xca, 0x58,
|
||||
0xc4, 0x76, 0xb8, 0x75, 0x90, 0x78, 0x36, 0x5e, 0x0e, 0x9d, 0xef, 0x2e, 0x5c, 0x50, 0x28, 0xe8,
|
||||
0x76, 0x67, 0x66, 0x47, 0x33, 0x36, 0x5c, 0x69, 0x13, 0x5e, 0x56, 0xf3, 0x49, 0xea, 0xad, 0xb4,
|
||||
0x26, 0xcd, 0xbc, 0x24, 0xcc, 0xde, 0x4d, 0x8a, 0x24, 0x03, 0x52, 0x90, 0x01, 0xed, 0x72, 0xa1,
|
||||
0x02, 0xca, 0x65, 0xe6, 0x83, 0x97, 0xe6, 0xd9, 0x78, 0xab, 0x82, 0x49, 0x27, 0x71, 0xe7, 0xbd,
|
||||
0x35, 0x20, 0x86, 0xd0, 0xb9, 0x47, 0x22, 0xa5, 0x91, 0xf7, 0xa1, 0x49, 0xea, 0xe3, 0x80, 0x1d,
|
||||
0xb3, 0x71, 0x2f, 0xc9, 0x47, 0x71, 0x08, 0x9d, 0x04, 0xdf, 0x56, 0x48, 0x81, 0x73, 0x68, 0x39,
|
||||
0x65, 0xb1, 0x64, 0xe3, 0x2c, 0x46, 0xd0, 0x4d, 0x90, 0x96, 0xde, 0x51, 0x3c, 0xb6, 0xa4, 0xab,
|
||||
0x63, 0x4b, 0x5a, 0x8c, 0xa1, 0xff, 0x18, 0x32, 0x54, 0xd6, 0x38, 0x5d, 0xb9, 0xec, 0xc1, 0xbf,
|
||||
0xd4, 0xaf, 0x5c, 0x88, 0xba, 0x66, 0x52, 0x2c, 0xe2, 0x04, 0x76, 0x6a, 0xca, 0xd2, 0x70, 0xbb,
|
||||
0xf4, 0x08, 0x5a, 0x0f, 0xc6, 0x69, 0xbe, 0x0f, 0x6d, 0x0a, 0x99, 0x7f, 0xc5, 0x92, 0x2e, 0xb7,
|
||||
0xc8, 0xfb, 0xdf, 0xf9, 0xd9, 0x27, 0x83, 0xde, 0x5d, 0x55, 0x9e, 0x9f, 0x42, 0xeb, 0x46, 0x2d,
|
||||
0x16, 0x9c, 0x4f, 0xbe, 0x5f, 0xa8, 0x8c, 0x3a, 0xd8, 0xdd, 0xc0, 0x8a, 0x50, 0xa2, 0xc1, 0x6f,
|
||||
0xa1, 0x5d, 0x64, 0xe5, 0xc3, 0x9a, 0xe0, 0x67, 0xd1, 0xc1, 0x68, 0x3b, 0x59, 0xd9, 0x4c, 0x19,
|
||||
0x9f, 0x41, 0x37, 0x6f, 0x12, 0xd3, 0xfe, 0xaf, 0xa9, 0x73, 0x70, 0xb0, 0x01, 0x78, 0xa7, 0x45,
|
||||
0x63, 0xcc, 0xa6, 0xec, 0xfa, 0xe2, 0xe9, 0xfc, 0x4f, 0x1f, 0x7f, 0xb9, 0x76, 0x99, 0xb7, 0x23,
|
||||
0x70, 0xf6, 0x15, 0x00, 0x00, 0xff, 0xff, 0xeb, 0xd1, 0xb5, 0x3e, 0x3a, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by protoc-gen-micro. DO NOT EDIT.
|
||||
// source: proto/idiomatic.proto
|
||||
// source: github.com/micro/services/test/template/proto/idiomatic.proto
|
||||
|
||||
package idiomatic
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
|
||||
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.
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package idiomatic;
|
||||
|
||||
option go_package = "proto;idiomatic";
|
||||
option go_package = "github.com/micro/services/test/template/proto;idiomatic";
|
||||
|
||||
service Idiomatic {
|
||||
rpc Call(Request) returns (Response) {}
|
||||
|
||||
Reference in New Issue
Block a user