mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-29 21:47:44 +02:00
examples at v3
This commit is contained in:
@@ -4,11 +4,11 @@ import (
|
||||
"log"
|
||||
|
||||
"context"
|
||||
"github.com/micro/go-micro/examples/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/config/cmd"
|
||||
"github.com/asim/go-micro/examples/v3/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/cmd"
|
||||
"github.com/asim/go-micro/v3/server"
|
||||
|
||||
example "github.com/micro/go-micro/examples/server/proto/example"
|
||||
example "github.com/asim/go-micro/examples/v3/server/proto/example"
|
||||
)
|
||||
|
||||
type Example struct{}
|
||||
|
||||
@@ -3,7 +3,7 @@ package handler
|
||||
import (
|
||||
"log"
|
||||
|
||||
example "github.com/micro/go-micro/examples/server/proto/example"
|
||||
example "github.com/asim/go-micro/examples/v3/server/proto/example"
|
||||
"github.com/asim/go-micro/v3/metadata"
|
||||
"github.com/asim/go-micro/v3/server"
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/micro/go-micro/examples/server/handler"
|
||||
"github.com/micro/go-micro/examples/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/config/cmd"
|
||||
"github.com/asim/go-micro/examples/v3/server/handler"
|
||||
"github.com/asim/go-micro/examples/v3/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/cmd"
|
||||
"github.com/asim/go-micro/v3/server"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-micro. DO NOT EDIT.
|
||||
// source: github.com/micro/go-micro/examples/server/proto/example/example.proto
|
||||
// source: github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
|
||||
|
||||
/*
|
||||
Package go_micro_srv_example is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
github.com/micro/go-micro/examples/server/proto/example/example.proto
|
||||
github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Message
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: github.com/micro/go-micro/examples/server/proto/example/example.proto
|
||||
// source: github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
|
||||
|
||||
/*
|
||||
Package go_micro_srv_example is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
github.com/micro/go-micro/examples/server/proto/example/example.proto
|
||||
github.com/asim/go-micro/examples/v3/server/proto/example/example.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Message
|
||||
@@ -355,11 +355,11 @@ var _Example_serviceDesc = grpc.ServiceDesc{
|
||||
ClientStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "github.com/micro/go-micro/examples/server/proto/example/example.proto",
|
||||
Metadata: "github.com/asim/go-micro/examples/v3/server/proto/example/example.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("github.com/micro/go-micro/examples/server/proto/example/example.proto", fileDescriptor0)
|
||||
proto.RegisterFile("github.com/asim/go-micro/examples/v3/server/proto/example/example.proto", fileDescriptor0)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"log"
|
||||
|
||||
"context"
|
||||
example "github.com/micro/go-micro/examples/server/proto/example"
|
||||
example "github.com/asim/go-micro/examples/v3/server/proto/example"
|
||||
)
|
||||
|
||||
type Example struct{}
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"log"
|
||||
|
||||
"context"
|
||||
"github.com/micro/go-micro/examples/server/handler"
|
||||
"github.com/micro/go-micro/examples/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/config/cmd"
|
||||
"github.com/asim/go-micro/examples/v3/server/handler"
|
||||
"github.com/asim/go-micro/examples/v3/server/subscriber"
|
||||
"github.com/asim/go-micro/v3/cmd"
|
||||
"github.com/asim/go-micro/v3/server"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user